Use the "go" tool for building.

Change the package structure so it can be imported as
"github.com/jackpal/Taipei-Torrent".

Remove Makefiles and helper scripts. To build, use "go build" (works
with weekly.2012-01-15).

To clean, use "go clean" (not yet available in the current weekly).

Note that the go tool expects the source code to be in a very specific
directory. See: http://tip.golang.org/doc/code.html
This commit is contained in:
Yves Junqueira 2012-01-19 22:18:39 +01:00
parent 5c02c4aa77
commit 59d18812e8

View file

@ -1,10 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG=jackpal/bencode
GOFILES=\
decode.go\
parse.go\
struct.go\
include $(GOROOT)/src/Make.pkg