framework/scripts/compile.sh
2015-10-22 12:25:22 +10:30

18 lines
280 B
Bash
Executable File

#!/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
gulp
cd "${base}/js/admin"
npm install
gulp