|
|
@ -2,11 +2,12 @@ GOCMD=go |
|
|
|
GOINSTALL=$(GOCMD) install
|
|
|
|
GOINSTALL=$(GOCMD) install
|
|
|
|
GOBUILD=$(GOCMD) build
|
|
|
|
GOBUILD=$(GOCMD) build
|
|
|
|
GOTEST=$(GOCMD) test
|
|
|
|
GOTEST=$(GOCMD) test
|
|
|
|
|
|
|
|
GOGET=$(GOCMD) get
|
|
|
|
BINARY_NAME=writefreely
|
|
|
|
BINARY_NAME=writefreely
|
|
|
|
|
|
|
|
|
|
|
|
all : build |
|
|
|
all : build |
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
|
build: deps |
|
|
|
cd cmd/writefreely; $(GOBUILD)
|
|
|
|
cd cmd/writefreely; $(GOBUILD)
|
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
test: |
|
|
@ -16,6 +17,9 @@ run: |
|
|
|
$(GOINSTALL) ./...
|
|
|
|
$(GOINSTALL) ./...
|
|
|
|
$(BINARY_NAME) --debug
|
|
|
|
$(BINARY_NAME) --debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deps : |
|
|
|
|
|
|
|
$(GOGET) ./...
|
|
|
|
|
|
|
|
|
|
|
|
install : |
|
|
|
install : |
|
|
|
./keys.sh
|
|
|
|
./keys.sh
|
|
|
|
cd less/; $(MAKE) install $(MFLAGS)
|
|
|
|
cd less/; $(MAKE) install $(MFLAGS)
|
|
|
|