feat: Add in the config tools, and move things around

This commit is contained in:
BluJ
2023-02-17 14:24:28 -07:00
parent 7310de048f
commit 520d6c51dd
20 changed files with 955 additions and 335 deletions

View File

@@ -1,9 +1,12 @@
TS_FILES := $(shell find ./**/*.ts )
version = $(shell git tag --sort=committerdate | tail -1)
test: $(TS_FILES)
test: $(TS_FILES) utils/test/output.ts
deno test test.ts
deno check mod.ts
utils/test/output.ts: utils/test/config.json scripts/oldSpecToBuilder.ts
cat utils/test/config.json | deno run scripts/oldSpecToBuilder.ts "../../mod.ts" |deno fmt - > utils/test/output.ts
bundle: test fmt $(TS_FILES)
echo "Version: $(version)"
deno run --allow-net --allow-write --allow-env --allow-run --allow-read build.ts $(version)