mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 00:03:37 +08:00
18 lines
306 B
Bash
18 lines
306 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 --production
|
||
|
|
||
|
cd "${base}/js/admin"
|
||
|
npm install
|
||
|
gulp --production
|