summaryrefslogtreecommitdiff
path: root/gen.lua
AgeCommit message (Collapse)Author
2021-07-24Move oasis git helpers to skeleton packageMichael Forney
2021-06-27Compress root.tar with zstdMichael Forney
2021-05-27Rename some fspec filesMichael Forney
2020-06-22Build root.tar from fspec rather than git repositoryMichael Forney
2020-06-22Use hyphenated rule namesMichael Forney
2020-06-22Use $outdir instead of $builddirMichael Forney
2020-06-22Generate root.perms from fspecMichael Forney
2020-06-22Exclude .gitignore and .perms from fspecMichael Forney
2020-01-29Move toolchain config into config.luaMichael Forney
2020-01-29Add support for building multiple configurationsMichael Forney
Now, you can build in separate directories per configuration: mkdir foo (cd foo && ../setup.lua) samu -C foo
2019-12-16Use $basedir to refer to paths relative to base source treeMichael Forney
2019-11-17Update ninja requirement to 1.8.0 and don't bother with atomic outputsMichael Forney
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always recorded after a job succeeds, and outputs are considered dirty if the recorded mtime is older than any input. This means that even if a command partially writes its output then fails (for example, if run with stdout redirected to a file), it will still get re-run during the next build. This means that outputs no longer have to be written atomically (i.e. renamed into place) in order to ensure a correct build, and we can drop the idiom `command >$out.tmp && mv $out.tmp $out`. [0] https://github.com/ninja-build/ninja/commit/04d886b11041bb59d01df794cce7a1e8cad2250d [1] https://github.com/michaelforney/samurai/commit/799bc5a4719b90a1026c129b55b92c0bccf97eeb
2019-07-06No C++ components anymoreMichael Forney
2018-02-16Port build scripts to POSIX shellMichael Forney
Since we are now using Lua to generate ninja files, use of rc in build scripts seems unnecessary and adds an additional bootstrap dependency. None of them are too fancy, so just port to POSIX sh instead.
2017-10-29Set ninja_required_versionMichael Forney
We use features through ninja version 1.7 (implicit outputs). Fixes #4.
2017-10-24Move defaults to config.def.luaMichael Forney
2017-10-23Add mechanism to probe for toolchain featuresMichael Forney
2017-10-20Remove need for build.ninja and config.ninjaMichael Forney
2017-10-20Move some stuff from build.ninja to gen.luaMichael Forney
2017-10-06Remove stray commentMichael Forney
2017-09-25Rewrite ninja generation scripts in LuaMichael Forney