1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Update for composer branch

This commit is contained in:
Toby Zerner
2015-10-13 12:29:00 +10:30
parent f5c9fd5d8d
commit fd3d2d83f1
24 changed files with 498 additions and 245 deletions

View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# This script compiles the extension so that it can be used in a Flarum
# installation. It should be run from the root directory of the extension.
base=$PWD
cd "${base}/js"
if [ -f bower.json ]; then
bower install
fi
for app in forum admin; do
cd "${base}/js"
if [ -d $app ]; then
cd $app
if [ -f bower.json ]; then
bower install
fi
npm install
gulp --production
fi
done