Skip to content

Commit

Permalink
Vendor query package during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier committed Apr 7, 2017
1 parent ce31591 commit 7b7593e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ go build -o toml-test github.com/BurntSushi/toml-test
# vendorize the current lib for testing
# 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
mkdir -p src/github.com/pelletier/go-toml/query
cp *.go *.toml src/github.com/pelletier/go-toml
cp -R cmd/* src/github.com/pelletier/go-toml/cmd
cp -R query/* src/github.com/pelletier/go-toml/query
go build -o test_program_bin src/github.com/pelletier/go-toml/cmd/test_program.go

# Run basic unit tests
Expand Down

0 comments on commit 7b7593e

Please sign in to comment.