docspell/website/scripts/build.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
296 B
Bash
Raw Normal View History

2020-07-27 20:13:22 +00:00
#!/usr/bin/env bash
set -e
yarn install
2022-01-27 19:23:15 +00:00
npx tailwindcss -i ./styles/input.css -o ./site/public/styles.css --config ./tailwind.config.js --postcss ./postcss.config.js
2020-07-27 20:13:22 +00:00
elm make --output site/static/js/bundle.js --optimize elm/Main.elm
2020-07-30 18:31:53 +00:00
cd site && zola build
2020-07-27 20:13:22 +00:00
cd ..
echo "Site is in site/public."