mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-14 13:36:33 +02:00
DELETE method in API hooks
This commit is contained in:
31
Makefile
31
Makefile
@ -1,6 +1,18 @@
|
||||
.PHONY: all create-messages update-messages clean
|
||||
.PHONY: all install-js watch-js build-js publish-beta lint-js test-js create-messages update-messages clean
|
||||
|
||||
all:
|
||||
@echo "make install-js"
|
||||
@echo " Install dependencies"
|
||||
@echo "make watch-js"
|
||||
@echo " Compile JS in watch mode."
|
||||
@echo "make build-js"
|
||||
@echo " Compile JS."
|
||||
@echo "make publish-beta"
|
||||
@echo " Publish package with 'beta' tag"
|
||||
@echo "make lint-js"
|
||||
@echo " Run linter"
|
||||
@echo "make test-js"
|
||||
@echo " Run tests"
|
||||
@echo "make create-messages"
|
||||
@echo " Create locale messages (.pot)."
|
||||
@echo "make update-messages"
|
||||
@ -8,6 +20,23 @@ all:
|
||||
@echo "make clean"
|
||||
@echo " Remove python artifacts and virtualenv."
|
||||
|
||||
install-js: package.json
|
||||
npm install --save-dev
|
||||
|
||||
watch-js:
|
||||
npm run watch
|
||||
build-js:
|
||||
npm run build
|
||||
|
||||
publish-beta:
|
||||
npm publish --tag beta
|
||||
|
||||
lint-js:
|
||||
npm run lint
|
||||
|
||||
test-js:
|
||||
npm test
|
||||
|
||||
create-messages:
|
||||
pybabel extract -F babel.cfg -o ./translations/forisjs.pot .
|
||||
update-messages:
|
||||
|
Reference in New Issue
Block a user