-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yuyang
committed
Jul 26, 2019
1 parent
cd74cb7
commit d88b436
Showing
13 changed files
with
169 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{version}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dist/ | ||
Dotamfile.demo.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ Dotam 读法 dot-am, 原意为dotfiles automation。 | |
- [运行](#运行) | ||
- [初始化](#初始化) | ||
- [注意及常见问题](#注意及常见问题) | ||
- [获取支持](#获取支持) | ||
- [语法冲突](#语法冲突) | ||
|
||
<!-- /TOC --> | ||
|
@@ -174,6 +175,13 @@ make install | |
|
||
## 注意及常见问题 | ||
|
||
|
||
### 获取支持 | ||
|
||
* 你可以随时发送邮件到[email protected]来获取支持,我会在检查邮件时尽快回复。 | ||
* 你也可以通过邮件来索要我的个人微信来获取即时支持。 | ||
|
||
|
||
### 语法冲突 | ||
|
||
如果模板中还有一些用于其他工具的模板标记比如我们的`.drone.yml`中用于slack插件的`{{#success}}`语法,这个会和项目自带的 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v0.1.3-beta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package main | ||
|
||
var DemoHcl = string(` | ||
temp "RELEASE" { | ||
src = ".dotam/RELEASE" | ||
dest = "." | ||
var { | ||
version = "{{versions.release}}" | ||
} | ||
} | ||
docker { | ||
repo = "deoops/dotam" | ||
tag = "{{versions.release}}" | ||
auth { | ||
username = "tom" | ||
password = "some key takes you home" | ||
} | ||
} | ||
var "versions" { | ||
prod = "v0.1.1" | ||
release = "v0.1.3-beta" | ||
} | ||
`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package main | ||
|
||
var DemoJson = string(` | ||
{ | ||
"temp": { | ||
"RELEASE": { | ||
"src": ".dotam/RELEASE", | ||
"dest": ".", | ||
"var": { | ||
"version": "{{versions.release}}" | ||
} | ||
} | ||
}, | ||
"docker": { | ||
"repo": "deoops/dotam", | ||
"tag": "{{versions.release}}", | ||
"auth": { | ||
"username": "tom", | ||
"password": "some key takes you home" | ||
} | ||
}, | ||
"var": { | ||
"versions": { | ||
"prod": "v0.1.0", | ||
"release": "v0.1.3-beta", | ||
} | ||
} | ||
} | ||
`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package main | ||
|
||
var DemoYaml = string(` | ||
temp: | ||
RELEASE: | ||
src: ".dotam/RELEASE" | ||
dest: "." | ||
var: | ||
version: "{{versions.release}}" | ||
docker: | ||
repo: "deoops/dotam" | ||
tag: "{{versions.release}}" | ||
auth: | ||
username: tom | ||
password: "some key takes you home" | ||
var: | ||
versions: | ||
prod: "v0.1.0" | ||
release: "v0.1.3-beta" | ||
`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters