Remove stuff I won't use

git-svn-id: file:///srv/svn/repo/toyohime/trunk@80 922d331f-388e-da47-97a9-ad700dc0b8b9
This commit is contained in:
jonbetti 2018-06-05 03:00:04 +00:00
parent f3867871c0
commit e09dc4b8d9
4 changed files with 0 additions and 74 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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