fix: put a placeholder file in dist [skip ci]

pull/1604/head
Noah Hsu 2022-08-30 15:53:40 +08:00
parent 046bbb3a48
commit 615e5dd118
3 changed files with 6 additions and 3 deletions

5
.gitignore vendored
View File

@ -1,7 +1,7 @@
.idea/
.DS_Store
output/
dist/
/dist/
# Binaries for programs and plugins
*.exe
@ -25,4 +25,5 @@ bin/*
data/
log/
lang/
public/dist/
public/dist/*
!public/dist/README.md

View File

@ -27,7 +27,8 @@ ldflags="\
FetchWebBuild() {
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
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
}

1
public/dist/README.md vendored Normal file
View File

@ -0,0 +1 @@
## Put dist of frontend here.