knit icon indicating copy to clipboard operation
knit copied to clipboard

A simple and flexible build tool using Lua, similar to make/mk.

Results 7 knit issues
Sort by recently updated
recently updated
newest added

Makefiles also support this: https://www.gnu.org/software/make/manual/html_node/Rule-Syntax.html `targets : attributes : prerequisites ; recipe`

Similar to .PRECIOUS in a makefile, but not exactly the same: https://www.gnu.org/software/make/manual/html_node/Special-Targets.html The use case is: Given the knitfile: ```lua return b { $ knit-1.1.1.tar.gz : wget https://github.com/zyedidia/knit/archive/refs/tags/v1.1.1.tar.gz -O $(output)...

Like :=, this is just syntactic sugar to make makefile writers more comfortable ```LUA -- declare string local flags = '-Wall' -- declare table local src = {} -- when...

Makefiles also support this: https://www.gnu.org/software/make/manual/html_node/Reference.html `$(foo)` `${foo}` This is useful because i often copy&paste snippets of makefiles into sh and sh does not support `$(foo)`.

I just notice the color output are disabled on error when using `--style progress` while `basic` and `steps` works just fine. ```rs // number.rs extern "C" { static mut offset:...

Similar with GNU Make, I noticed that `knit.glob()` also doesn't support globstar and extglob too (e.g `path/**/mangle-*.jsonc?`). Is it intentional by design?

Would make it easier to install to try it out for the folks who use Homebrew (such as myself). (`eget` downloads to current directory or to a manually-specified path, &...