mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add filebrowser/frontend as a submodule
This commit is contained in:
parent
d11aa8de6b
commit
a2e293292e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
.DS_Store
|
||||
frontend/
|
||||
*/dist/*
|
||||
*.db
|
||||
*.db.lock
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -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)
|
||||
|
||||
# Clean the dist folder and build the assets
|
||||
if [ ! -d "frontend" ]; then
|
||||
git clone -b master https://github.com/filebrowser/frontend
|
||||
fi;
|
||||
cd frontend
|
||||
if [ -d "dist" ]; then
|
||||
rm -rf dist/*
|
||||
fi;
|
||||
yarn install
|
||||
yarn build
|
||||
|
||||
cd ..
|
||||
|
||||
dep ensure -vendor-only
|
||||
|
1
frontend
Submodule
1
frontend
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit f5c48c9679ef16f2d2dfb88d7cdcea929463f2ed
|
Loading…
Reference in New Issue
Block a user