mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update scripts
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user