-
Notifications
You must be signed in to change notification settings - Fork 11
/
hemtt.toml
49 lines (42 loc) · 1.09 KB
/
hemtt.toml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
name = "ArmaForces Mods"
prefix = "afm"
author = "ArmaForces"
files = [
"LICENSE",
"mod.cpp",
"README.md",
"armaforces_mods_x64.dll",
]
exclude = ["*.psd", "*.png", "*.tga"]
modname = "armaforces_mods"
key_name = "armaforces_mods_{{version}}"
authority = "armaforces_mods_{{version}}"
releasebuild = [
"!set_version",
"@zip",
"!publish"
]
[header_exts]
version = "{{git \"id 8\"}}"
[scripts.extension]
show_output = true
steps_windows = [
"cd extension && cargo build --release",
"copy extension\\target\\release\\armaforces_mods.dll armaforces_mods_x64.dll"
]
steps_linux = [
"echo \"Unable to build extension on Linux\""
]
[scripts.set_version]
steps_windows = [
"powershell ./tools/Set-Version.ps1 {{version}} '@armaforces_mods'"
]
steps_linux = [
"sed -i 's/0.0.0/{{version}}/' ./releases/{{version}}/@armaforces_mods/mod.cpp"
]
# show_output = true
[scripts.publish]
steps_windows = [
"powershell ./tools/Publish.ps1 {{version}} 1934142795 '@armaforces_mods'"
]
show_output = true