Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/jju/Makefile

21 lines
290 B
Makefile
Raw Permalink Normal View History

2024-01-10 22:39:31 +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