add filebrowser/frontend as a submodule

This commit is contained in:
1138-4EB 2018-06-06 20:55:18 +01:00 committed by Henrique Dias
parent d11aa8de6b
commit a2e293292e
4 changed files with 4 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.DS_Store .DS_Store
frontend/
*/dist/* */dist/*
*.db *.db
*.db.lock *.db.lock

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "frontend"]
path = frontend
url = https://github.com/filebrowser/frontend

View File

@ -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

1
frontend Submodule

@ -0,0 +1 @@
Subproject commit f5c48c9679ef16f2d2dfb88d7cdcea929463f2ed