mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
22 lines
387 B
Bash
Executable File
22 lines
387 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# build translations.
|
|
php /sites/tools/firefly-iii-tools/cli.php ff3:json-translations --v2
|
|
|
|
# remove old stuff
|
|
rm -rf public/
|
|
rm -rf ../public/fonts
|
|
rm -rf ../public/v2/js
|
|
rm -rf ../public/v2/css
|
|
|
|
# build new stuff
|
|
npm upgrade
|
|
npm run prod
|
|
|
|
# move to right directory
|
|
# mv public/js ../public/v2
|
|
# mv public/css ../public/v2
|
|
|
|
# also copy fonts
|
|
cp -r fonts ../public
|