소스 검색

remove tasks deps for travis

tags/v0.9.0
jimzhan 9 년 전
부모
커밋
d97200aa44
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. +2
    -8
      Makefile

+ 2
- 8
Makefile 파일 보기

@@ -1,20 +1,14 @@
.PHONY: all test clean build install

GOFLAGS ?= $(GOFLAGS:)
ARCH=$(shell ls $(GOPATH)/pkg | head -n 1)
PKG=$(GOPATH)/pkg/$(ARCH)/github.com/goanywhere

all: test build
all: test

clean:
@find $(PKG) -name 'rex.a' -delete
@find $(PKG) -name 'rex' -type d -print0|xargs -0 rm -r

build: clean
build:
@go get -v ./...

test:
@go test -v ./...

bench: install
@go test -run=NONE -bench=. $(GOFLAGS) ./...

Loading…
취소
저장