This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
Lateinicus/frontend/shit.sh
Alexander Polynomdivision 082f254da0 feat: Error pages + Makefile improvements
Error pages: Add error pages for 404 and 50X errors by nginx
Makefile improvements: Remove shit.sh and replace it by improving the
Makefile
2018-10-03 20:24:06 +02:00

10 lines
277 B
Bash

#!/bin/bash
rm -rf dist/
./node_modules/.bin/parcel build --out-dir dist/app src/index.html
./node_modules/.bin/parcel build --out-dir dist src/lost.html src/error.html
chmod 705 dist dist/app
chmod 604 dist/app/*
sed -e "s/\/src/\/app\/src/g" --in-place dist/app/index.html