add filebrowser/frontend as a submodule
Former-commit-id: 689395356dc1860d0f0f5786986cbbc4238a1fe0 [formerly 0c528dae26624fad221c4fa6b273a02dc030e81c] [formerly f353338b249c2ed818611ac6a91939bc87356de9 [formerly a2e293292e
]]
Former-commit-id: 647dac9f8eed2df57191a75e4b199aebb18375fc [formerly 000079405f67a4bff2098c2cddc082a4374e0bd5]
Former-commit-id: 89c911c807783e2176994fc6949bf8221ca5e5a3
pull/726/head
parent
32f7efbde5
commit
f9e3923ae7
|
@ -1,5 +1,4 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
frontend/
|
|
||||||
*/dist/*
|
*/dist/*
|
||||||
*.db
|
*.db
|
||||||
*.db.lock
|
*.db.lock
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "frontend"]
|
||||||
|
path = frontend
|
||||||
|
url = https://github.com/filebrowser/frontend
|
4
build.sh
4
build.sh
|
@ -5,16 +5,12 @@ set -e
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
# Clean the dist folder and build the assets
|
# Clean the dist folder and build the assets
|
||||||
if [ ! -d "frontend" ]; then
|
|
||||||
git clone -b master https://github.com/filebrowser/frontend
|
|
||||||
fi;
|
|
||||||
cd frontend
|
cd frontend
|
||||||
if [ -d "dist" ]; then
|
if [ -d "dist" ]; then
|
||||||
rm -rf dist/*
|
rm -rf dist/*
|
||||||
fi;
|
fi;
|
||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
dep ensure -vendor-only
|
dep ensure -vendor-only
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit f5c48c9679ef16f2d2dfb88d7cdcea929463f2ed
|
Loading…
Reference in New Issue