2022-01-10 15:45:10 +03:00
|
|
|
.DEFAULT_GOAL := help
|
|
|
|
|
|
|
|
.PHONY: dev
|
|
|
|
dev: ## Start development.
|
2022-01-28 10:26:38 +03:00
|
|
|
npm link @haskell-spotlight/react-lib
|
2022-01-13 14:08:46 +03:00
|
|
|
npm run dev
|
2022-01-10 15:45:10 +03:00
|
|
|
|
|
|
|
.PHONY: build
|
|
|
|
build: ## Build the project.
|
|
|
|
cd ../react-lib && make build && npm link
|
2022-01-28 10:26:38 +03:00
|
|
|
npm link @haskell-spotlight/react-lib
|
2022-01-10 15:45:10 +03:00
|
|
|
npm i
|
|
|
|
npm run build
|
|
|
|
# xcrun safari-web-extension-converter --project-location ./build/safari ./build
|
|
|
|
|
|
|
|
.PHONY: help
|
|
|
|
help:
|
|
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|