Go で書き直した Ikemen
Revision | deb1ddb5ef87c513ebae6080a5cef50ce4270104 (tree) |
---|---|
Time | 2016-10-29 23:11:47 |
Author | SUEHIRO <supersuehiro@user...> |
Commiter | SUEHIRO |
windows用のビルドができなかった
gcc: error: unrecognized command line option ‘-mthreads’
@@ -0,0 +1,5 @@ | ||
1 | +#!/bin/sh | |
2 | +GOPATH=$PWD/go | |
3 | +export GOPATH | |
4 | +GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -o ikemen ./src | |
5 | +go clean ./src |
@@ -1,5 +1,5 @@ | ||
1 | 1 | #!/bin/sh |
2 | -GOPATH=`pwd`/go | |
2 | +GOPATH=$PWD/go | |
3 | 3 | export GOPATH |
4 | 4 | go get -u github.com/Shopify/go-lua |
5 | 5 | go get -u github.com/go-gl/glfw/v3.2/glfw |
@@ -1,5 +1,5 @@ | ||
1 | 1 | #!/bin/sh |
2 | -GOPATH=`pwd`/go | |
2 | +GOPATH=$PWD/go | |
3 | 3 | export GOPATH |
4 | 4 | go fmt ./src/*.go |
5 | 5 | godoc -src ./src .* > godoc.txt |