Makefile 273 B

12345678
  1. h2demo.linux: h2demo.go
  2. GOOS=linux go build --tags=h2demo -o h2demo.linux .
  3. FORCE:
  4. upload: FORCE
  5. go install golang.org/x/build/cmd/upload
  6. upload --verbose --osarch=linux-amd64 --tags=h2demo --file=go:golang.org/x/net/http2/h2demo --public http2-demo-server-tls/h2demo