initial commit

This commit is contained in:
ston1th 2016-09-05 22:49:40 +02:00
commit 3f79fc8e6c
527 changed files with 373170 additions and 0 deletions

32
Makefile Normal file
View file

@ -0,0 +1,32 @@
CC=go
BUILD=build -v
LDFLAGS=--ldflags "-s -w"
PROGRAM=gowiki
all: $(PROGRAM)
setup:
$(CC) get github.com/tools/godep
$(CC) get github.com/client9/misspell
$(PROGRAM): clean codeqa
CGO_ENABLED=0 $(CC) $(BUILD) $(LDFLAGS)
clean:
$(CC) clean -x
codeqa: templates gofmt misspell golint
gofmt:
gofmt -w .
golint:
$(GOPATH)/bin/golint .
misspell:
$(GOPATH)/bin/misspell **/*
templates:
$(CC) generate
.PHONY: setup build clean templates gofmt misspell golint