Page MenuHomePhorge

maidfile.toml
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

maidfile.toml

[tasks.build]
path = "build"
script = "meson compile"
[tasks.clean]
path = "build"
script = "meson clean"
[tasks.run]
script = ["maid build -q", "./build/ant %{arg.1}"]
[tasks.spec]
script = ["maid build -q", "./build/ant examples/spec/%{arg.1}.js"]
[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)" \
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", '''
bash -c 'which ant && cp ./build/ant "$(which ant)" ||
{ mkdir -p ~/.local/bin && cp ./build/ant ~/.local/bin/; }'
''']
[tasks.debug]
script = ['meson subprojects download', '''
bash -c 'CC="ccache $(which clang)" \
meson setup build --wipe -Doptimization=0 -Db_lto=false -Dstrip=false -Db_lundef=false -Dunity=off -Ddebug=true'
''']

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 8:02 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
518661
Default Alt Text
maidfile.toml (1 KB)

Event Timeline