mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 02:21:17 +00:00
18 lines
265 B
Makefile
18 lines
265 B
Makefile
default:
|
|
|
|
lint:
|
|
docker run --rm -ti \
|
|
-v "$(CURDIR):/src" \
|
|
-w "/src/src" \
|
|
node:12-alpine \
|
|
npx eslint --ext .js --fix frontend/app.js
|
|
|
|
.PHONY: frontend
|
|
frontend: node_modules
|
|
node ci/build.mjs
|
|
|
|
node_modules:
|
|
npm ci
|
|
|
|
publish: frontend
|
|
bash ci/build.sh
|