summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-04 23:10:48 -0500
committerPietro Gagliardi <[email protected]>2014-03-04 23:10:48 -0500
commit40a9dc55c90e8c9261d9471ceae0c8ed3a8067a0 (patch)
treee8c781fae175135d5d86480f014588a9120164d3
parent692c75140a7cb84a3ec2254072ecb3197c34fb56 (diff)
Changed the ".." import in the test binary to a proper "github.com/andlabs/ui" import. (This means I finally moved my working environment out of a folder src/wingo and into the proper src/github.com/andlabs/ui.)
-rw-r--r--README.md2
-rwxr-xr-xtest.sh2
-rw-r--r--test/main.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index e7f958b..61d5210 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Native UI library for Go
-### THIS PACKAGE IS UNDER ACTIVE DEVELOPMENT. Feel free to start using it, but mind: it's far from feature-complete, it's still in need of testing and crash-fixing, and the API can (and will) change. If you can help, please do! Run `./test` to build a test binary `test/main` which runs a (mostly) feature-complete UI test. Run `./d32 ./test` to build a 32-bit version (you will need a cgo-enabled 32-bit go environment, and I have only tested this on Mac OS X).
+### THIS PACKAGE IS UNDER ACTIVE DEVELOPMENT. Feel free to start using it, but mind: it's far from feature-complete, it's still in need of testing and crash-fixing, and the API can (and will) change. If you can help, please do! Run `./test` to build a test binary `test/test` which runs a (mostly) feature-complete UI test. Run `./d32 ./test` to build a 32-bit version (you will need a cgo-enabled 32-bit go environment, and I have only tested this on Mac OS X).
This is a simple library for building cross-platform GUI programs in Go. It targets Windows, Mac OS X, Linux, and other Unixes, and provides a thread-safe, channel-based API. The API itself is minimal; it aims to provide only what is necessary for GUI program design. That being said, suggestions are welcome. Layout is done using various layout managers, and some effort is taken to conform to the target platform's UI guidelines. Otherwise, the library uses native toolkits.
diff --git a/test.sh b/test.sh
index 7667318..d54c681 100755
--- a/test.sh
+++ b/test.sh
@@ -1,2 +1,2 @@
cd test
-go build main.go
+go build "$@"
diff --git a/test/main.go b/test/main.go
index f6a26a3..11cf19f 100644
--- a/test/main.go
+++ b/test/main.go
@@ -4,7 +4,7 @@ package main
import (
"fmt"
"flag"
- . ".."
+ . "github.com/andlabs/ui"
)
var prefsizetest = flag.Bool("prefsize", false, "")