delete Makefile
This commit is contained in:
parent
29116db1e2
commit
69254ce05b
28
Makefile
28
Makefile
@ -1,28 +0,0 @@
|
||||
|
||||
BINARY_NAME=bin/sorare
|
||||
|
||||
BIN_DIR=$(shell dirname $(BINARY_NAME))
|
||||
include .env
|
||||
export $(shell sed 's/=.*//' .env)
|
||||
|
||||
ensure-bin-dir:
|
||||
@mkdir -p $(BIN_DIR)
|
||||
|
||||
build: ensure-bin-dir
|
||||
@echo "Building..."
|
||||
go build -o $(BINARY_NAME) cmd/console/main.go
|
||||
|
||||
run: build
|
||||
@echo "Running..."
|
||||
$(info JWTTOKEN is $(JWTTOKEN))
|
||||
$(info JWTAUDIENCE is $(JWTAUDIENCE))
|
||||
./$(BINARY_NAME) --jwtaudience $(JWTAUDIENCE) --jwttoken $(JWTTOKEN) --verbose
|
||||
|
||||
clean:
|
||||
@echo "Cleaning..."
|
||||
go clean
|
||||
rm -f $(BINARY_NAME)
|
||||
|
||||
.PHONY: build run clean ensure-bin-dir
|
||||
.DEFAULT_GOAL := all
|
||||
all: build run clean ensure-bin-dir
|
Loading…
Reference in New Issue
Block a user