Skip to content

Commit

Permalink
🧑‍💻 technologist: Created a Makefile recipe to run the seeds script
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmarquesp committed Jul 2, 2024
1 parent f9b1872 commit 9d7e31c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
APP = github.com/kevinmarquesp/go-postr
SERVER = cmd/server
SEED = cmd/seed

DB = tmp/database.sqlite3
PROVIDER = sqlite3
Expand All @@ -9,6 +10,10 @@ MIGRATIONS = db/sqlite3/migrations
run:
@go run $(APP)/$(SERVER)

.PHONY: seed
seed:
@go run $(APP)/$(SEED)

.PHONY: test
test:
@gotestsum --format-hide-empty-pkg --format-icons codicons $(UNIT)
Expand Down

0 comments on commit 9d7e31c

Please sign in to comment.