mirror of
https://github.com/visortelle/haskell-spotlight.git
synced 2024-09-11 03:55:54 +03:00
19 lines
503 B
Makefile
19 lines
503 B
Makefile
.DEFAULT_GOAL := help
|
|
|
|
.PHONY: dev
|
|
dev: ## Start development.
|
|
npm link @haskell-spotlight/react-lib
|
|
npm run dev
|
|
|
|
.PHONY: build
|
|
build: ## Build the project.
|
|
cd ../react-lib && make build && npm link
|
|
npm link @haskell-spotlight/react-lib
|
|
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}'
|