diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 7a92578..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ - -# Change Log - -## Unreleased -- Rework internal structure -- Rename main to kkn.fi/cmd/vanity - -## Release v0.1.0 - 2016-12-12 -### Added -- Add vanity.Path type -- Add vanity.NewServer and vanity.NewPackage functions - -## Release v0.0.1 - 2016-10-20 -### Added -- Supports Go tool and browsers for GoDoc diff --git a/Makefile b/Makefile deleted file mode 100644 index aa8f0ba..0000000 --- a/Makefile +++ /dev/null @@ -1,32 +0,0 @@ - -NAME := kkn.fi/vanity - -GOMETALINTER := $(GOPATH)/bin/gometalinter - -.PHONY: build -build: - go build $(NAME) - -.PHONY: test -test: - go test -v $(NAME) - -.PHONY: lint -lint: $(GOMETALINTER) - gometalinter ./... - -$(GOMETALINTER): - go get -u github.com/alecthomas/gometalinter - gometalinter --install - -.PHONY: cover -cover: - go test -coverprofile=coverage.out $(NAME) - go tool cover -html=coverage.out - @rm -f coverage.out - -.PHONY: heat -heat: - go test -covermode=count -coverprofile=count.out $(NAME) - go tool cover -html=count.out - @rm -f count.out diff --git a/ci/lint.sh b/ci/lint.sh deleted file mode 100755 index ffe81de..0000000 --- a/ci/lint.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - - -pkg=kkn.fi/vanity - -go vet $pkg -if [ $? -ne 0 ]; then - exit 1 -fi -output=`golint $pkg` -if [ "$output" != "" ]; then - echo "$output" 1>&2 - exit 1 -fi diff --git a/ci/validate-gofmt.sh b/ci/validate-gofmt.sh deleted file mode 100755 index da8e236..0000000 --- a/ci/validate-gofmt.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# $pkg is relative path to package -pkg=kkn.fi/vanity -importPath=kkn.fi/vanity -relativePkg="${pkg/$importPath/.}" - -output=`gofmt -s -l $relativePkg` -if [ "$output" != "" ]; then - echo "validate-gofmt.sh: error $pkg" 1>&2 - exit 1 -fi -exit 0