Skip to content

Commit 615e5dd

Browse files
committed
fix: put a placeholder file in dist [skip ci]
1 parent 046bbb3 commit 615e5dd

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.idea/
22
.DS_Store
33
output/
4-
dist/
4+
/dist/
55

66
# Binaries for programs and plugins
77
*.exe
@@ -25,4 +25,5 @@ bin/*
2525
data/
2626
log/
2727
lang/
28-
public/dist/
28+
public/dist/*
29+
!public/dist/README.md

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ ldflags="\
2727
FetchWebBuild() {
2828
curl -L https://codeload.github.com/alist-org/web-dist/tar.gz/refs/heads/main -o web-dist-main.tar.gz
2929
tar -zxvf web-dist-main.tar.gz
30-
mv web-dist-main/dist public
30+
rm -rf public/dist
31+
mv -f web-dist-main/dist public
3132
rm -rf web-dist-main web-dist-main.tar.gz
3233
}
3334

public/dist/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Put dist of frontend here.

0 commit comments

Comments
 (0)