TOML to JSON cli tool (#85)

* Implement tomljson
* Add note about tools in README
This commit is contained in:
Thomas Pelletier
2016-08-14 13:50:18 +02:00
committed by GitHub
parent 7f292800de
commit de2e921d55
4 changed files with 170 additions and 2 deletions
+3 -2
View File
@@ -34,11 +34,12 @@ go build -o toml-test github.com/BurntSushi/toml-test
# NOTE: this basically mocks an install without having to go back out to github for code
mkdir -p src/github.com/pelletier/go-toml/cmd
cp *.go *.toml src/github.com/pelletier/go-toml
cp cmd/*.go src/github.com/pelletier/go-toml/cmd
cp -R cmd/* src/github.com/pelletier/go-toml/cmd
go build -o test_program_bin src/github.com/pelletier/go-toml/cmd/test_program.go
# Run basic unit tests
go test -v github.com/pelletier/go-toml
go test github.com/pelletier/go-toml \
github.com/pelletier/go-toml/cmd/tomljson
# run the entire BurntSushi test suite
if [[ $# -eq 0 ]] ; then