0
0
Fork 0

Convert from npm scripts to a makefile

This commit is contained in:
Oliver Akins 2022-05-26 13:39:32 -06:00
parent 5e456894c0
commit e27025b586
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
2 changed files with 25 additions and 3 deletions

22
makefile Normal file
View file

@ -0,0 +1,22 @@
.PHONY: dev release clean
OUT_DIR=dist
ENTRYPOINT=main.js
RELEASE_SCRIPT=utils/release.py
dev:
node esbuild.config.mjs
release:
tsc --noEmit --skipLibCheck
node esbuild.config.mjs production
version:
node version-bump.mjs
git add manifest.json versions.json
clean:
# rm -f *.js
rm -rf $(OUT_DIR)