diff --git a/gometalinter.json b/.gometalinter.json similarity index 100% rename from gometalinter.json rename to .gometalinter.json diff --git a/.travis.yml b/.travis.yml index aeed20f18..174194df1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,8 @@ install: - go get -t ./... script: - - make - - gometalinter --config=gometalinter.json ./... + - go build ./... + - gometalinter ./... - go test ./... -coverprofile=coverage1.txt - go test ./impl/integration/ -coverprofile=coverage2.txt -coverpkg=./... diff --git a/Makefile b/Makefile deleted file mode 100644 index 3ea710264..000000000 --- a/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2016 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Package authentication implements authentication mechanisms. -# -# The Transparent Key Server is designed to be used by identity providers - -# IdP in OAuth parlance. OAuth2 Access Tokens may be provided as -# authentication information, which can be resolved to user information and -# associated scopes on the backend. - -# TODO: Makefile will be deleted once the repo is public. Check issue #411. - -main: - go build ./cmd/keytransparency-server ./cmd/keytransparency-sequencer ./cmd/keytransparency-client ./cmd/keytransparency-delegate ./cmd/gen-test-vectors - -mysql: - go build -tags mysql ./cmd/keytransparency-server ./cmd/keytransparency-sequencer ./cmd/keytransparency-client - -client: - go build ./cmd/keytransparency-client - -# The list of returned packages might not be unique. Fortunately go test gets -# rid of duplicates. -test: main - go test ./... - -coverage: main - go test ./... -cover - -check: - gometalinter --config=gometalinter.json ./... - -presubmit: test check - -proto: - go generate ./... - -clean: - rm -f srv keytransparency-server keytransparency-sequencer keytransparency-client - rm -rf infra*