PIbd-21_Danilov_V.V._Intern.../Lab3/node_modules/jju/Makefile

21 lines
290 B
Makefile
Raw Normal View History

2023-12-19 20:23:11 +04:00
PATH := node_modules/.bin:$(PATH)
all: package.json install
install: package.json
yarn
test:
mocha test/*.js
lint:
eslint -c ./.eslint.yaml ./lib
clean:
rm package.json yarn.lock
package.json: package.yaml
js-yaml package.yaml > package.json
.PHONY: clean all install lint test