1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-10-18 13:24:23 +00:00
share/Makefile

32 lines
846 B
Makefile
Raw Normal View History

default: webpack
lint:
docker run --rm -ti \
-v "$(CURDIR):/src" \
-w "/src/src" \
node:12-alpine \
npx eslint --ext .js --fix frontend/app.js
assets: frontend/bundle.css
assets: frontend/bundle.js
frontend/bundle.css:
./ci/combine.sh $@ \
npm/bootstrap@4/dist/css/bootstrap.min.css \
npm/bootstrap-vue@2/dist/bootstrap-vue.min.css \
npm/bootswatch@5/dist/darkly/bootstrap.min.css \
gh/highlightjs/cdn-release@11.2.0/build/styles/androidstudio.min.css
frontend/bundle.js:
./ci/combine.sh $@ \
npm/axios@0.21.1 \
npm/vue@2 \
npm/vue-i18n@8.25.0/dist/vue-i18n.min.js \
npm/bootstrap-vue@2/dist/bootstrap-vue.min.js \
npm/showdown@1 \
gh/highlightjs/cdn-release@11.2.0/build/highlight.min.js
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh