diff options
| author | dacctal <dacctalyt@gmail.com> | 2026-04-22 04:31:45 +0000 |
|---|---|---|
| committer | dacctal <dacctalyt@gmail.com> | 2026-04-22 04:31:45 +0000 |
| commit | af89c510b1bf83bf982ccfb1028f26e515de338c (patch) | |
| tree | b411a2b3ec26f2fa670e12ae73cdbca15462766a /config/build_systems | |
| parent | 131a67b1233a1b451348bd6b8533d811d10f4b75 (diff) | |
added default config & fixed headers
Diffstat (limited to 'config/build_systems')
| -rw-r--r-- | config/build_systems/init.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/config/build_systems/init.lua b/config/build_systems/init.lua new file mode 100644 index 0000000..5518369 --- /dev/null +++ b/config/build_systems/init.lua @@ -0,0 +1,35 @@ +build_systems["Makefile"] = function(name) + os.execute("make") +end + +build_systems["meson.build"] = function(name) + os.execute("meson setup build && meson compile -C build") +end + +build_systems["CMakeLists.txt"] = function(name) + os.execute("mkdir build && cd build && cmake ..") +end + +build_systems["Cargo.toml"] = function(name) + os.execute("cargo build --release") +end + +build_systems["v.mod"] = function(name) + os.execute("v . -o "..name) +end + +build_systems["build.zig"] = function(name) + os.execute("zig build --release=fast") +end + +build_systems["go.mod"] = function(name) + os.execute("go build") +end + +build_systems["build.ninja"] = function(name) + os.execute("ninja -C build") +end + +build_systems["configure"] = function(name) + os.execute("autoreconf -if && ./configure") +end |
