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:
parent
5c02c4aa77
commit
59d18812e8
1 changed files with 0 additions and 10 deletions
10
Makefile
10
Makefile
|
@ -1,10 +0,0 @@
|
|||
include $(GOROOT)/src/Make.inc
|
||||
|
||||
TARG=jackpal/bencode
|
||||
GOFILES=\
|
||||
decode.go\
|
||||
parse.go\
|
||||
struct.go\
|
||||
|
||||
|
||||
include $(GOROOT)/src/Make.pkg
|
Loading…
Reference in a new issue