-
Notifications
You must be signed in to change notification settings - Fork 3
/
hemtt.toml
42 lines (36 loc) · 961 Bytes
/
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
name = "ArmaForces Friendly Tracker"
prefix = "afft"
author = "ArmaForces"
files = [
"LICENSE",
"mod.cpp",
"README.md"
]
exclude = ["*.psd", "*.png", "*.tga"]
modname = "armaforces_friendly_tracker"
keyname = "armaforces_friendly_tracker_{{version}}"
signame = "armaforces_friendly_tracker_{{version}}"
releasebuild = [
"!Set_version",
"@zip",
"!publish"
]
# HEMTT >= 0.7 (unreleased)
#[header_exts]
#version = "{{git \"id 8\"}}"
headerexts = [
"version={{git \"id 8\"}}"
]
[scripts.Set_version]
steps_windows = [
"powershell ./tools/Set-Version.ps1 {{version}} '@armaforces_friendly_tracker'"
]
steps_linux = [
"sed -i 's/0.0.0/{{version}}/' ./releases/{{version}}/@armaforces_friendly_tracker/mod.cpp"
]
# show_output = true
[scripts.publish]
steps_windows = [
"powershell ./tools/Publish.ps1 {{version}} 1952036908 '@armaforces_friendly_tracker'"
]
show_output = true