Bluesky app fork with some witchin' additions 馃挮
at main 1.0 kB view raw
1 2SHELL = /usr/bin/env bash 3.SHELLFLAGS = -o pipefail -c 4 5.PHONY: help 6help: ## Print info about all commands 7 @echo "Commands:" 8 @echo 9 @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}' 10 11.PHONY: build-web 12build-web: ## Compile web bundle, copy to bskyweb directory 13 yarn intl:build 14 yarn build-web 15 16.PHONY: build-web-embed 17build-web-embed: ## Compile web embed bundle, copy to bskyweb/embedr* directories 18 yarn intl:build 19 yarn build-embed 20 21.PHONY: test 22test: ## Run all tests 23 NODE_ENV=test yarn test 24 25.PHONY: lint 26lint: ## Run style checks and verify syntax 27 yarn run lint 28 29#.PHONY: fmt 30#fmt: ## Run syntax re-formatting 31# yarn prettier 32 33.PHONY: deps 34deps: ## Installs dependent libs using 'yarn install' 35 yarn install --frozen-lockfile 36 cd bskyembed && yarn install --frozen-lockfile 37 38.PHONY: nvm-setup 39nvm-setup: ## Use NVM to install and activate node+yarn 40 nvm install 20 41 nvm use 20 42 npm install --global yarn