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:
parent
f3867871c0
commit
e09dc4b8d9
15
CHANGELOG.md
15
CHANGELOG.md
@ -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
|
32
Makefile
32
Makefile
@ -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
|
14
ci/lint.sh
14
ci/lint.sh
@ -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
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user