-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 969 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
clean: ## Clean the project
yarn clean
yarn prepare
setup: ## Install developper experience
yarn setup
install: ## Install project dependencies
poetry install --sync --no-root --with devops
yarn install
install-hard: ## Install project dependencies from scratch
rm -rf .venv/
poetry lock --no-update
rm -rf node_modules/ yarn.lock
yarn cache clean
make install
start: ## Start the project
yarn start
build: ## Build the project
NUXT_ENVIRONMENT=production yarn build
serve: ## Serve the project
yarn serve
deploy: ## Deploy the project
poetry run sirtuin cloudfront-deploy .cloudfront -p personal
invalidate-fonts: ## Invalidate fonts
aws cloudfront create-invalidation --distribution-id E3SZTVEZV1G0WQ --paths '/fonts/*' --region eu-west-3 --profile personal
help: ## Description of the Makefile commands
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}'