Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
h2demo: add build tag
Browse files Browse the repository at this point in the history
This makes it possible to pull into Google's third_party
without pulling in Camlistore and such.
  • Loading branch information
bradfitz committed Jan 16, 2015
1 parent 953b511 commit 12475b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion h2demo/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
h2demo.linux: h2demo.go
GOOS=linux go build -o h2demo.linux .
GOOS=linux go build --tags=h2demo -o h2demo.linux .

upload: h2demo.linux
cat h2demo.linux | go run launch.go --write_object=http2-demo-server-tls/h2demo --write_object_is_public
2 changes: 2 additions & 0 deletions h2demo/h2demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Licensed under the same terms as Go itself:
// https://code.google.com/p/go/source/browse/LICENSE

// +build h2demo

package main

import (
Expand Down

0 comments on commit 12475b8

Please sign in to comment.