diff options
| author | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-07 20:06:44 +0000 |
|---|---|---|
| committer | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-07 20:06:44 +0000 |
| commit | 97d70a6f8252b15928ca7f51386df791dedf0067 (patch) | |
| tree | fa56caf88d93aee2db0f74ca70f777654ab9cfba /src | |
| parent | 8926f839720471cc86fd4f7c6371d63b8f71b91d (diff) | |
initial commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/build_map.cc | 24 | ||||
| -rw-r--r-- | src/build_systems.cc | 2 |
2 files changed, 25 insertions, 1 deletions
diff --git a/src/build_map.cc b/src/build_map.cc new file mode 100644 index 0000000..b7c1a02 --- /dev/null +++ b/src/build_map.cc @@ -0,0 +1,24 @@ +#include <functional> + +#include "build_systems.cc" + +const std::map<std::string, std::function<void()>> builds = { + {"bldit", bldit_build}, + {"compile.sh", compilesh_build}, + {"build.sh", buildsh_build}, + {"autogen.sh", autogen_build}, + {"configure", autotools_build}, + {"configure.ac", autotools_build}, + {"Makefile", make_build}, + {"Makefile.am", make_build}, + {"CMakeLists.txt", cmake_build}, + {"meson.build", meson_build}, + {"build.ninja", ninja_build}, + {"Cargo.toml", cargo_build}, + {"go.mod", go_build}, + {"gradle.build", gradle_build}, + {"pnpm-lock.yaml", pnpm_build}, + {"pyproject.toml", python_build}, + {"build.zig", zig_build} +}; + diff --git a/src/build_systems.cc b/src/build_systems.cc index 2e402e7..a6364ec 100644 --- a/src/build_systems.cc +++ b/src/build_systems.cc @@ -1,6 +1,6 @@ #include <filesystem> -#include "toml.hh" +#include "../include/toml.hh" #include "vars.cc" |
