mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat: Added mustache templating.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
flags := "-vet -show-timings -strict-style -vet-cast -vet-tabs -vet-using-param -disallow-do -vet-semicolon"
|
||||
name := "odin-mustache"
|
||||
|
||||
build:
|
||||
@mkdir -p bin
|
||||
odin build . -out:bin/{{name}} -debug {{flags}}
|
||||
|
||||
test: build
|
||||
odin test . -out:bin/{{name}}
|
||||
|
||||
run: build
|
||||
bin/{{name}} test/template.txt test/data.json test/layout.txt
|
||||
|
||||
check:
|
||||
odin check . {{flags}}
|
||||
Reference in New Issue
Block a user