mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 00:31:36 +00:00
chore(dev): update makefile
This commit is contained in:
5
Makefile
5
Makefile
@ -1,5 +1,6 @@
|
||||
PACKAGE_MANAGER = pnpm
|
||||
NVM = nvm
|
||||
DENO = deno
|
||||
|
||||
all: build
|
||||
|
||||
@ -7,9 +8,9 @@ nvm:
|
||||
. ${NVM_DIR}/nvm.sh && nvm use && $(CMD)
|
||||
|
||||
deps:
|
||||
make nvm CMD="$(PACKAGE_MANAGER) i"
|
||||
deno i
|
||||
|
||||
build:
|
||||
make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build-local"
|
||||
deno i && deno task build-local
|
||||
|
||||
.PHONY: all
|
||||
|
Reference in New Issue
Block a user