Skip to content
Snippets Groups Projects
Select Git revision
  • 5172c0e4f0a4c70d3052d31ed7f5398e719b0365
  • master default protected
  • v1.23.2
  • v1.23.1
  • v1.23.0
  • v1.22.0
  • v1.21.1
  • v1.21.0
  • v1.20.3
  • v1.20.2
  • v1.20.1
  • v1.20.0
  • v1.19.4
  • v1.19.3
  • v1.19.2
  • v1.19.1
  • v1.19.0
  • v1.18.2
  • v1.18.1
  • v1.18.0
  • v1.17.0
  • v1.16.1
22 results

promise.go

Blame
  • Makefile 543 B
    build: dist/go-httpbin
    
    dist/go-httpbin: assets *.go httpbin/*.go
    	mkdir -p dist
    	go build -o dist/go-httpbin
    
    assets: httpbin/assets/*
    	go-bindata -o httpbin/assets.go -pkg=httpbin -prefix=httpbin/assets httpbin/assets
    
    test:
    	go test -v github.com/mccutchen/go-httpbin/httpbin
    
    testcover:
    	mkdir -p dist
    	go test -coverprofile=dist/coverage.out github.com/mccutchen/go-httpbin/httpbin
    	go tool cover -html=dist/coverage.out
    
    run: build
    	./dist/go-httpbin
    
    clean:
    	rm -r dist
    
    deps:
    	go get -u github.com/jteeuwen/go-bindata/...
    
    .PHONY: all