|
|
11 lat temu | |
|---|---|---|
| .. | ||
| detect | 11 lat temu | |
| examples | 11 lat temu | |
| fileutil | 11 lat temu | |
| .gitignore | 11 lat temu | |
| README.md | 11 lat temu | |
| qst.go | 11 lat temu | |
Playing with go. Late to the party, but it's fun, I think.
go tool itself,
fetching libraries built-in, though versioning is missing)intended to be run in unfamilar environments, you pass it a file or a directory and it tries to detect what it is and how to run it.
qst or qst -h to see options and support project typesqst hello_world.go: compiles and runs hello_world.go, rerunning
after it exits or the file is saved
quite fun for small things, just throw some code in a file, have qst
watch and restart when appropriate.
qst -phase=test ... runs the tests for projects that support it
# set up $GOPATH as desired
$ export GOPATH=$PWD/.go # choose whatever you want
$ go build qst
...
$ ./qst -h
Usage: qst <file>
...
$ ./qst examples/hello_web.rb
...
^C
$ ./qst examples/hello_web.go
...
Try changing something in the files, it's fun. :)