~chipaca/ubuntu-push/gsettings

« back to all changes in this revision

Viewing changes to http13client/Makefile

  • Committer: Samuele Pedroni (Canonical Services Ltd.)
  • Date: 2014-03-19 20:20:19 UTC
  • mto: This revision was merged to the branch mainline in revision 82.
  • Revision ID: samuele.pedroni@canonical.com-20140319202019-p0w8krshj1098f82
grab go 1.3 dev net/http and massage it so that the test run on 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# help massage and extract from go development 1.3 net/http the client bits
 
2
 
 
3
grab:
 
4
        cp $(CHECKOUT)/src/pkg/net/http/*.go .
 
5
        mkdir -p httptest
 
6
        mkdir -p httputil
 
7
        mkdir -p testdata
 
8
        cp $(CHECKOUT)/src/pkg/net/http/httptest/*.go httptest
 
9
        cp $(CHECKOUT)/src/pkg/net//http/httputil/*.go httputil
 
10
        cp $(CHECKOUT)/src/pkg/net/http/testdata/* testdata
 
11
        hg -R $(CHECKOUT) summary > _using.txt
 
12
 
 
13
full-prepare:
 
14
        patch -R -p5 < _patches/sync_pool.Rpatch
 
15
        patch -p1 < _patches/no_keepalive.patch
 
16
        sed -i -e 's+"net/http"+"launchpad.net/ubuntu-push/http13client"+' *.go httptest/*.go httputil/*.go
 
17
        sed -i -e 's+"net/http/+"launchpad.net/ubuntu-push/http13client/+' *.go httptest/*.go httputil/*.go
 
18
        patch -p1 < _patches/no_serve_test_unsupported_bench.patch
 
19
 
 
20
 
 
21
clean:
 
22
        rm -rf *.go httptest httputil testdata
 
23
 
 
24
.PHONY: grab full-prepare clean
 
 
b'\\ No newline at end of file'