Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update build folder

steven62657f7f4ec4
diff --git a/.gitignore b/.gitignore
index f4838425a..48954faa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,6 @@ tmp
web/dist
# build folder
-memos-build
+build
.DS_Store
\ No newline at end of file
diff --git a/scripts/.air.toml b/scripts/.air.toml
index 239b32cf4..d742c75a6 100644
--- a/scripts/.air.toml
+++ b/scripts/.air.toml
@@ -5,7 +5,7 @@ tmp_dir = ".air"
bin = "./.air/memos"
cmd = "go build -o ./.air/memos ./bin/server/main.go"
delay = 1000
- exclude_dir = [".air", "web"]
+ exclude_dir = [".air", "web", "build"]
exclude_file = []
exclude_regex = []
exclude_unchanged = false
diff --git a/scripts/build.sh b/scripts/build.sh
index 7aa43dd33..fd34f2194 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -8,6 +8,6 @@ cd "$(dirname "$0")/../"
echo "Start building backend..."
-go build -o ./memos-build/memos ./bin/server/main.go
+go build -o ./build/memos ./bin/server/main.go
echo "Backend built!"