Pārlūkot izejas kodu

remove tasks deps for travis

tags/v0.9.0
jimzhan pirms 10 gadiem
vecāks
revīzija
d97200aa44
1 mainītis faili ar 2 papildinājumiem un 8 dzēšanām
  1. +2
    -8
      Makefile

+ 2
- 8
Makefile Parādīt failu

.PHONY: all test clean build install

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


all: test build
all: test


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


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


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

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

Notiek ielāde…
Atcelt
Saglabāt