Skip to content

Commit

Permalink
fix: put a placeholder file in dist [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Aug 30, 2022
1 parent 046bbb3 commit 615e5dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.idea/
.DS_Store
output/
dist/
/dist/

# Binaries for programs and plugins
*.exe
Expand All @@ -25,4 +25,5 @@ bin/*
data/
log/
lang/
public/dist/
public/dist/*
!public/dist/README.md
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 1 addition & 0 deletions public/dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Put dist of frontend here.

0 comments on commit 615e5dd

Please sign in to comment.