TOML to JSON cli tool (#85)
* Implement tomljson * Add note about tools in README
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user