Page MenuHomePhorge

maidfile.toml
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

maidfile.toml

[tasks.build]
path = "build"
script = "meson compile"
[tasks.build.cache]
path = "src"
target = ["build/ant"]
[tasks.strip]
path = "build"
script = "strip ant"
[tasks.download]
script = [".github/download.sh", "open .github/artifacts"]
[tasks.run]
script = ["maid build -q", "./build/ant %{arg.1}"]
[tasks.spec]
script = ["maid build -q", "./build/ant examples/spec/%{arg.1}.js"]
[tasks.amber]
script = "amber build .github/install/install.ab install.sh"
[tasks.save_spec]
script = ['rm spec.txt', '''
bash -c 'ant examples/spec/run.js \
| sed "s/\x1b\[[0-9;]*[a-zA-Z]//g" > spec.txt'
''']
[tasks.setup]
script = ['meson subprojects download', '''
bash -c 'CC="ccache $(which clang)" \
CC_LD="$(which ld64.lld)" \
meson setup build --wipe'
''']
[tasks.asan]
script = ['meson subprojects download', '''
bash -c 'CC="ccache $(which clang)" \
meson setup build --wipe -Db_sanitize=address -Doptimization=0 -Db_lto=false -Dstrip=false -Db_lundef=false'
''']
[tasks.install]
script = ["maid build -q", "maid strip", '''
bash -c 'if which ant >/dev/null 2>&1; then
dir=$(dirname "$(which ant)")
cp ./build/ant "$dir/ant"
ln -sf "$dir/ant" "$dir/antx"
else
mkdir -p ~/.ant/bin
cp ./build/ant ~/.ant/bin/
ln -sf ~/.ant/bin/ant ~/.ant/bin/antx
fi'
''']
[tasks.debug]
script = ['meson subprojects download', '''
bash -c 'CC="ccache $(which clang)" \
meson setup build --wipe --buildtype=debug -Doptimization=0 -Db_lto=false -Dstrip=false -Db_lundef=false -Dunity=off'
''']

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 8:54 AM (5 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
518044
Default Alt Text
maidfile.toml (1 KB)

Event Timeline