Skip to content
Snippets Groups Projects
Select Git revision
  • 93f147d67de6d3a3b4a31d8cdff4e68470ccf1af
  • 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 413 B
    build: dist/go-httpbin
    
    dist/go-httpbin: assets *.go httpbin/*.go
    	mkdir -p dist
    	go build -o dist/go-httpbin
    
    assets: httpbin/templates/*.html
    	go-bindata -o httpbin/templates.go -pkg=httpbin -prefix=httpbin/templates httpbin/templates
    
    test:
    	go test -v github.com/mccutchen/go-httpbin/httpbin
    
    run: build
    	./dist/go-httpbin
    
    clean:
    	rm -r dist
    
    deps:
    	go get -u github.com/jteeuwen/go-bindata/...
    
    .PHONY: all