1
0
mirror of https://github.com/flarum/core.git synced 2025-05-05 06:57:55 +02:00
php-flarum/scripts/compile.sh
2018-01-06 11:59:25 +01:00

18 lines
280 B
Bash

#!/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