Jae Kwon
d7ac6e516a
Cleaned up makefile
7 years ago
Petabyte Storage
ae632654d2
add tools check with short circuit
7 years ago
Petabyte Storage
49e5510953
remove tools from all
7 years ago
Anton Kaliaev
a6644f7477
remove gopath prefixes
it's safe because I added GOPATH to PATH earlier today
7 years ago
Anton Kaliaev
10265d8667
add tools to make all because it's required for test target
7 years ago
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
7 years ago
Anton Kaliaev
d943f66abc
remove get_deps, update_deps and list_deps
Rationale: they only lead to broken builds and should not be used by
anyone.
7 years ago
Zach
12c5a57415
determinisitic linter ( #902 )
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
7 years ago
Ethan Frey
c771964a40
Add vagrant_test to Makefile for integration tests
7 years ago
Ethan Frey
9657d183f8
Remove CGO_ENABLED=0 from make install
It was writing to stdlib packages net, x/crypto, etc. and failing when it didn't have write access to them (which it often shouldn't)
Fixes issue #941
Explained in golang issue: golang/go#18981 (fixed in develop/1.10)
7 years ago
Anton Kaliaev
ebdc7ddf20
add missing get_vendor_deps to "make all"
7 years ago
Anton Kaliaev
76cccfaabd
get_vendor_deps does not require all the tools
- remove revision cmd
- rename ensure_tools to tools
7 years ago
Anton Kaliaev
440d76647d
rename release to test_release
7 years ago
Anton Kaliaev
2cc2fade06
remove -extldflags "-static"
golang builds static libraries by default.
7 years ago
Anton Kaliaev
3318cf9aec
do not suppose that GOPATH is added to PATH
```
brew install tendermint --HEAD
==> Installing tendermint from tendermint/tendermint
==> Cloning https://github.com/tendermint/tendermint.git
Cloning into '/Users/antonk/Library/Caches/Homebrew/tendermint--git'...
remote: Counting objects: 437, done.
remote: Compressing objects: 100% (412/412), done.
remote: Total 437 (delta 7), reused 129 (delta 2), pack-reused 0
Receiving objects: 100% (437/437), 3.04 MiB | 1006.00 KiB/s, done.
Resolving deltas: 100% (7/7), done.
==> Checking out branch develop
==> make get_vendor_deps
Last 15 lines from /Users/antonk/Library/Logs/Homebrew/tendermint/01.make:
2017-12-04 14:54:54 -0600
make
get_vendor_deps
go get github.com/mitchellh/gox github.com/tcnksm/ghr github.com/Masterminds/glide github.com/alecthomas/gometalinter
make: gometalinter: No such file or directory
make: *** [ensure_tools] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/tendermint/homebrew-tendermint/issues
```
7 years ago
Anton Kaliaev
ceb8ba2e15
comment out gas linter for now
7 years ago
Ethan Buchman
d9c87a21a6
run metalinter in make test and run_test.sh
7 years ago
Zach Ramsay
c4caad7720
lint madness
7 years ago
Zach Ramsay
2563b4fc92
lint fixes
7 years ago
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
c84c7250ba
linting: few more fixes
7 years ago
Zach Ramsay
fe37afc0d7
do i need this?
7 years ago
Zach Ramsay
7ad8a8ab55
Tests almost passing
7 years ago
Zach Ramsay
a15c7f221d
linting: moar fixes
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
bc2aa79f9a
linter: sort through each kind and address small fixes
7 years ago
Zach Ramsay
48aca642e3
linter: address deadcode, implement incremental lint testing
7 years ago
Zach Ramsay
fc33576bac
linting: replace megacheck with metalinter
7 years ago
Emmanuel Odeke
6e5cd10399
rpc/lib/client: jitter test updates and only to-be run on releases
* Updated code with feedback from @melekes , @ebuchman and @silasdavis .
* Added Makefile clause `release` to only run the test on seeing tag
`release` during releases i.e
```shell
make release
```
which will run the comprehensive and long integration-ish tests.
7 years ago
Ethan Buchman
91a3cb0f21
makefile: remove megacheck
7 years ago
Anton Kaliaev
40b5defe18
release script [ci skip]
7 years ago
Ethan Buchman
66fcdf7c7a
minor fixes
7 years ago
Adrian Brink
2c129447fd
Example that showcases how to build your own tendermint node
This example shows how a user of the tendermint library can build their
own node and supply it with its own commands. It includes two todos in
order to make it easier for library users to use tendermint.
7 years ago
zramsay
9c3eee0b00
Makefile: add megacheck & some additional fixes
8 years ago
Adrian Brink
cd3c3c3bad
Modify makefile
8 years ago
Adrian Brink
8c91014cd8
Add git commit hash to version.
8 years ago
Adrian Brink
6312eb91be
Change "make build" to set GitCommit variable
As described above.
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Adrian Brink
cf875a51fd
Fix draw_deps in Makefile and add resulting dependency graph
8 years ago
Anton Kaliaev
5f6de800a0
rename TMROOT to TMHOME (Refs #431 )
8 years ago
Anton Kaliaev
d66ebbd904
use testify package
8 years ago
Anton Kaliaev
51d760f29f
use local import for testing
8 years ago
Anton Kaliaev
d43e3db978
fix circleci
8 years ago
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
8 years ago
Ethan Frey
42a9b847ec
Make all client tests safe to run in parallel
8 years ago
Ethan Frey
0905332f1d
MockClient for real abci app
8 years ago
Anton Kaliaev
d38a6e329f
verbose output when get_deps
8 years ago
Ethan Buchman
bb5688b1be
make: dont use -v on go test
8 years ago
Ethan Frey
d4b3dde853
make install now uses vendored dependencies
8 years ago