|
|
лет назад: 11 | |
|---|---|---|
| .. | ||
| detect | лет назад: 11 | |
| examples | лет назад: 11 | |
| fileutil | лет назад: 11 | |
| .gitignore | лет назад: 11 | |
| README.md | лет назад: 11 | |
| qst.go | лет назад: 11 | |
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. :)