Adds variated orange flowers to acacia tree leaves!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

30 lines
483 B

  1. .PHONY: build dev install clean
  2. .DEFAULT_GOAL := dev
  3. ifeq ($(shell test -f "$(HOME)/.nvm/nvm.sh"; echo $$?),0)
  4. NVM := source $(HOME)/.nvm/nvm.sh && nvm use &> /dev/null
  5. else
  6. NVM := true
  7. endif
  8. ifeq (,$(shell $(NVM) && which pnpm))
  9. NPM := $(NVM) && npm
  10. else
  11. NPM := $(NVM) && pnpm
  12. endif
  13. build: install
  14. $(NPM) run build
  15. dev: install
  16. $(NPM) run dev
  17. install: package-install.lock
  18. package-install.lock: package.json
  19. $(NPM) install
  20. touch package-install.lock
  21. clean:
  22. rm -rf _out/