framework/scripts/compile.sh

18 lines
280 B
Bash
Raw Normal View History

2015-10-02 15:53:08 +08:00
#!/usr/bin/env bash
# This script compiles Flarum's core assets so that they can be used in-browser.
# It should be run from the root directory of the core.
base=$PWD
cd "${base}/js"
bower install
cd "${base}/js/forum"
npm install
2015-10-22 09:55:22 +08:00
gulp
2015-10-02 15:53:08 +08:00
cd "${base}/js/admin"
npm install
2015-10-22 09:55:22 +08:00
gulp