Skip to content

Commit

Permalink
Default to go run
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline committed Sep 9, 2024
1 parent b4a765a commit 0693045
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ include .env # Requires SLACK_CLIENT_ID and SLACK_CLIENT_SECRET

IMAGE := blaster:latest

export DEBUG ?= 1
export HOST ?= localhost
export PORT ?= 4000
export CERT_FILE ?= certs/localhost.crt
export KEY_FILE ?= certs/localhost.key

.PHONY: run
run:
DEBUG=1 air
go run main.go

.PHONY: test
test:
go test -v ./...

.PHONY: live
live:
air

.PHONY: docker-build
docker-build:
docker build -t $(IMAGE) .
Expand Down

0 comments on commit 0693045

Please sign in to comment.