aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kavon <me+git@alexkavon.com>2024-01-24 05:48:56 -0500
committerAlexander Kavon <me+git@alexkavon.com>2024-01-24 05:48:56 -0500
commitdd8f40e906aab169ffa7a2023820a93ad1c2e0ad (patch)
tree1dfb217b8ec067fcd33c91486d58d61c55816abb
parentd73dd37027e5d9b53cd56481c78d43c0942d2d68 (diff)
add make run and make build commands
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1a2265e..e8a9cb4 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,12 @@ unmigrate:
rollback:
TERN_CONFIG=migrations/tern.conf TERN_MIGRATIONS=migrations tern migrate -d -1
+run:
+ go run ./src/main.go
+
+build:
+ go build -o newsstand ./src/main.go
+
dev:
podman compose up -d