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.

28 lines
639 B

  1. # Usage: $ make
  2. NPM := $(shell eval command -v npm)
  3. APT := $(shell eval command -v apt)
  4. .PHONY: help
  5. help: ## Usage: make <concept>, eg: make install
  6. @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
  7. install: ## Install required javascript dependencies
  8. ifndef NPM
  9. ifdef APT
  10. @echo "Installing NPM debian package…"
  11. sudo apt install -y npm
  12. endif
  13. endif
  14. npm install
  15. demo: ## Run locally at http://localhost:3000
  16. npm run dev
  17. love: ## Fund development of Majority Judgment
  18. firefox https://www.paypal.com/donate/?hosted_button_id=QD6U4D323WV4S