Skip to content
Snippets Groups Projects
Select Git revision
  • 53f2e2b0feb369b9bb36726ad856adb4e7ba12d0
  • main default protected
  • drip-server-timing
  • compress-middleware
  • v2.11.0
  • v2.10.0
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.0
  • v2.7.0
  • v2.6.0
  • v2.5.6
  • v2.5.5
  • v2.5.4
  • v2.5.3
  • v2.5.2
  • v2.5.1
  • v2.5.0
  • v2.4.2
  • v2.4.1
  • v2.4.0
  • v2.3.0
  • v2.2.2
24 results

Makefile

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