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