More Makefile adaptation

This commit is contained in:
Marian Steinbach 2018-08-23 10:02:34 +02:00
parent 35f21f298d
commit ea47673ed2
1 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,10 @@ spider: dockerimage
docker run --rm -ti \
-v $(PWD)/webapp/dist/data:/out \
-v $(PWD)/docs/siteicons:/icons \
-v $(PWD)/secrets:/secrets \
spider spider.py \
--credentials-path /secrets/datastore-writer.json \
--loglevel debug \
spider
test: dockerimage
@ -36,7 +40,7 @@ webapp/node_modules:
cd webapp && npm install
# Build webapp
webapp: webapp/node_modules screenshots
webapp: webapp/node_modules
cd webapp && npx webpack --config webpack.config.js
cp -r webapp/dist/* ./docs/
cp webapp/node_modules/tooltipster/dist/css/tooltipster.bundle.min.css ./docs/css/