mirror of
https://github.com/usememos/memos.git
synced 2025-04-18 03:17:29 +02:00
chore: update scripts
This commit is contained in:
parent
63388a7d97
commit
84a3548232
@ -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…
x
Reference in New Issue
Block a user