-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cook.toml.example
36 lines (30 loc) · 966 Bytes
/
Cook.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[cook]
target_directory = "target/release"
target_rename = "cargocook"
hashes = ["md5", "sha256", "sha512"]
containers = ["tar", "tar.bzip2"]
pre_cook = "pre_cook.sh"
post_cook = "post_cook.sh"
include_dependencies = true
cook_directory = "cooked/"
[cook.deploy]
targets = ["fscopy", "ssh"]
[cook.deploy.fscopy]
path = "/tmp"
[cook.deploy.ssh]
hostname = "github.com:80" # Host:port format.
username = "vvv"
remote_path = "/home/vvv/cooked/" # must be absolute path!
deploy_script = "ssh_deploy.sh" # Will be executed on remote server.
# If source is a file then it will be copied to the destination.
# If the source is a directory then the destination field is also a directory and `filter` field can be used to determine which files to take.
[[cook.ingredient]]
source = "Cargo.toml"
destination = "Cargo.toml"
[[cook.ingredient]]
source = "src"
destination = "src"
[[cook.ingredient]]
source = "./"
filter = "(LICENSE-*)"
destination = "licenses/"