Files
inKino/web/deploy.sh
Iiro Krankka dc803ca233 v2.0.1 (#115)
* Bump version codes.

* Modify release scripts one last time.

* Fix background image issues.

* Make deploy script and firebase config great again.

* Make the background gradient work while the image is loading.

* Background color fixes.

* Yet another background adjustment.
2019-01-26 17:36:41 +02:00

16 lines
435 B
Bash
Executable File

#!/bin/bash
# Yes, I know this is bad. It uses a custom chunk-based file fingerprinter,
# but it's not ready just yet and has shortcomings that have to be patched
# by this bash script. I'm working on it.
rm -rf build
webdev build
cd build/images && mv * ../ && cd ../
dart ../../../fingerprint/bin/fingerprint.dart
for i in $(find . -type f | egrep '\.(svg|png|jpeg|jpg)$'); do
mv "$i" ./images/$i
done
cd ../
# firebase deploy