All checks were successful
Release / release (push) Successful in 57s
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Co-authored-by: kevin <kevin@yuno.malio.fr> Reviewed-on: #7 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
34 lines
566 B
Makefile
34 lines
566 B
Makefile
.PHONY: start install dev dev-prepare lint test pre-commit copy-git-hook node-use
|
|
|
|
start: copy-git-hook node-use install
|
|
|
|
install:
|
|
npm install
|
|
|
|
dev:
|
|
npm run dev
|
|
|
|
dev-histoire:
|
|
npm run story:dev
|
|
|
|
dev-prepare:
|
|
npm run dev:prepare
|
|
|
|
lint: dev-prepare
|
|
npm run lint
|
|
|
|
test:
|
|
npm run test
|
|
|
|
pre-commit: lint test
|
|
|
|
copy-git-hook:
|
|
cp pre-commit .git/hooks/pre-commit
|
|
cp commit-msg .git/hooks/commit-msg
|
|
chmod a+x .git/hooks/pre-commit
|
|
chmod a+x .git/hooks/commit-msg
|
|
|
|
# Force la version node
|
|
node-use:
|
|
bash -lc 'source "$$HOME/.nvm/nvm.sh" && nvm install && nvm use'
|