Files
dokku/plugins/nginx-vhosts/Makefile
Jose Diaz-Gonzalez d4b445985b refactor: consolidate property fetching for nginx plugin into golang codebase
Also update the documentation to include docs for all properties.
2024-02-06 00:42:48 -05:00

18 lines
488 B
Makefile

GOARCH ?= amd64
BUILD = pagesize nginx-property
PLUGIN_NAME = nginx-vhosts
clean-pagesize:
rm -rf pagesize
pagesize: clean-pagesize **/**/pagesize.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o pagesize src/pagesize/pagesize.go
clean-nginx-property:
rm -rf nginx-property
nginx-property: clean-nginx-property **/**/nginx-property.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o nginx-property src/nginx-property/nginx-property.go
include ../../common.mk