fix: put a placeholder file in dist [skip ci]
This commit is contained in:
parent
046bbb3a48
commit
615e5dd118
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
.idea/
|
.idea/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
output/
|
output/
|
||||||
dist/
|
/dist/
|
||||||
|
|
||||||
# Binaries for programs and plugins
|
# Binaries for programs and plugins
|
||||||
*.exe
|
*.exe
|
||||||
@ -25,4 +25,5 @@ bin/*
|
|||||||
data/
|
data/
|
||||||
log/
|
log/
|
||||||
lang/
|
lang/
|
||||||
public/dist/
|
public/dist/*
|
||||||
|
!public/dist/README.md
|
3
build.sh
3
build.sh
@ -27,7 +27,8 @@ ldflags="\
|
|||||||
FetchWebBuild() {
|
FetchWebBuild() {
|
||||||
curl -L https://codeload.github.com/alist-org/web-dist/tar.gz/refs/heads/main -o web-dist-main.tar.gz
|
curl -L https://codeload.github.com/alist-org/web-dist/tar.gz/refs/heads/main -o web-dist-main.tar.gz
|
||||||
tar -zxvf web-dist-main.tar.gz
|
tar -zxvf web-dist-main.tar.gz
|
||||||
mv web-dist-main/dist public
|
rm -rf public/dist
|
||||||
|
mv -f web-dist-main/dist public
|
||||||
rm -rf web-dist-main web-dist-main.tar.gz
|
rm -rf web-dist-main web-dist-main.tar.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
public/dist/README.md
vendored
Normal file
1
public/dist/README.md
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
## Put dist of frontend here.
|
Loading…
x
Reference in New Issue
Block a user