topic/cleaning #4
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -15,6 +15,9 @@
|
||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
# vendor/
|
# vendor/
|
||||||
|
|
||||||
|
# Output directories
|
||||||
|
bins/
|
||||||
|
|
||||||
# ---> macOS
|
# ---> macOS
|
||||||
# General
|
# General
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -1,12 +1,12 @@
|
||||||
build:
|
build:
|
||||||
docker-compose build
|
docker-compose build
|
||||||
|
|
||||||
run: build
|
up: build
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
build-binary:
|
build-binary:
|
||||||
GOOS=linux GOARCH=amd64 go build -o bins/genityapp -v cmd/*
|
GOOS=linux GOARCH=amd64 go build -o bins/genityapp -v cmd/*
|
||||||
|
|
||||||
Dev-run: build-binary build run
|
run: build-binary up
|
||||||
|
|
||||||
.PHONY: build-binary run build
|
.PHONY: build-binary run build up
|
||||||
|
|
Loading…
Reference in a new issue