This is the personal HP of Georg Hopp aka Steffers. Yes I know... nobody make personal HPs in the times of social networks. Well, I do!
web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
578 B

APP_NAME = steffers.org
APP_VERSION = 0.0.1
GOPATH ?= $(HOME)/go
GOPROJECT = gitlab.weird-web-workers.org/ghopp/$(APP_NAME)
GOEXE = $(GOPATH)/bin/$(APP_NAME)
DOCKER_IMAGE_NAME = ghopp/$(APP_NAME)
DOCKER_IMAGE_VERSION = 0.0.1
DOCKER_IMAGE_TAG = $(DOCKER_IMAGE_NAME)-$(APP_VERSION):$(DOCKER_IMAGE_VERSION)
export APP_NAME DOCKER_IMAGE_TAG GOEXE
.PHONY: all clean docker react
all: docker
$(GOEXE): $(APP_NAME).go
go install $(GOPROJECT)
docker: react $(GOEXE)
$(MAKE) -C $@
react:
$(MAKE) -C $@
clean:
$(MAKE) -C docker clean
$(MAKE) -C react clean
rm -Rf $(GOEXE)