Something went wrong. Try again.
MIRROR: javascript for 🐜's, a tiny runtime with big ambitions ant.themackabu.dev
Something went wrong. Try again.
ant maidfile.toml
1.6 kB · 68 lines
TOML
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869[env]CC = "ccache clang"CXX = "ccache clang++"
[tasks.build]path = "build"script = "meson compile"
[tasks.build.cache]path = "src"target = ["build/ant"]
[tasks.reconfigure]path = "build"script = "meson setup --reconfigure"
[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.preflight]script = "ant .github/agents/check_all.js"
[tasks.knowledge]script = "ant .github/agents/check_repo_knowledge.js"
[tasks.structure]script = "ant .github/agents/check_repo_structure.js"
[tasks.validate_changes]script = "ant .github/agents/route_validation.js"
[tasks.amber]script = "amber build .github/install/install.ab install.sh"
[tasks.setup]script = ['meson subprojects download', 'meson setup build --wipe']
[tasks.no_jit]script = ['meson subprojects download', 'meson setup build --wipe -Djit=false']
[tasks.asan]script = ['meson subprojects download', 'meson setup build --wipe -Db_sanitize=address -Doptimization=0 -Db_lto=false -Dstrip=false -Db_lundef=false']
[tasks.debug]script = [ 'meson subprojects download', 'meson setup build --wipe --buildtype=debug -Doptimization=0 -Db_lto=false -Dstrip=false -Db_lundef=false -Dunity=off']
[tasks.install]script = ["maid build -q", ''' 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'''']