mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 08:52:29 +08:00
chore: update scripts
This commit is contained in:
parent
63388a7d97
commit
84a3548232
2 changed files with 11 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ set -e
|
||||||
|
|
||||||
cd "$(dirname "$0")/../"
|
cd "$(dirname "$0")/../"
|
||||||
|
|
||||||
echo "Start building..."
|
echo "Start building backend..."
|
||||||
|
|
||||||
go build -o ./memos-build/memos ./bin/server/main.go
|
go build -o ./memos-build/memos ./bin/server/main.go
|
||||||
|
|
||||||
echo "Build finished"
|
echo "Backend built!"
|
||||||
|
|
|
||||||
9
scripts/start.sh
Executable file
9
scripts/start.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Usage: ./scripts/start.sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/../"
|
||||||
|
|
||||||
|
air -c ./scripts/.air.toml
|
||||||
Loading…
Add table
Reference in a new issue