Convert from npm scripts to a makefile
This commit is contained in:
parent
5e456894c0
commit
e27025b586
2 changed files with 25 additions and 3 deletions
22
makefile
Normal file
22
makefile
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue