Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
witchsky Makefile
1.0 kB · 42 lines
Makefile
12345678910111213141516171819202122232425262728293031323334353637383940414243
SHELL = /usr/bin/env bash.SHELLFLAGS = -o pipefail -c
.PHONY: helphelp: ## Print info about all commands @echo "Commands:" @echo @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}'
.PHONY: build-webbuild-web: ## Compile web bundle, copy to bskyweb directory yarn intl:build yarn build-web
.PHONY: build-web-embedbuild-web-embed: ## Compile web embed bundle, copy to bskyweb/embedr* directories yarn intl:build yarn build-embed
.PHONY: testtest: ## Run all tests NODE_ENV=test yarn test
.PHONY: lintlint: ## Run style checks and verify syntax yarn run lint
#.PHONY: fmt#fmt: ## Run syntax re-formatting# yarn prettier
.PHONY: depsdeps: ## Installs dependent libs using 'yarn install' yarn install --frozen-lockfile cd bskyembed && yarn install --frozen-lockfile
.PHONY: nvm-setupnvm-setup: ## Use NVM to install and activate node+yarn nvm install 20 nvm use 20 npm install --global yarn