Commit Graph

158 Commits

Author SHA1 Message Date
Ștefan Talpalaru ede45648e7 Premix-related changes
- build all tools using the Makefile and place them in ./build
- add copyright header to Makefile
- premix/readme.md edited to fix some errors, improve descriptions and
  document Makefile usage
- link the Premix documentation in the main README.md
- also build `hunter` in the nimble tests
- refactored the file and directory search so all debugging tools can be run
  from the top-level dir like this: `./build/<tool> ...`
- write all JSON debugging data in the current directory
- add JSON files generated in the top-level dir to .gitignore
- Nimbus now exits with an exception after dumping debug data and
  running `premix` on it
2019-01-28 12:38:23 +02:00
Bruno Škvorc 85b979ec32 Missing r flag added to remove command (#219) 2019-01-24 14:34:26 +01:00
Zahary Karadjov 3619090cb4 Fix a changed path 2019-01-21 20:17:29 +02:00
Ștefan Talpalaru e267254b4c Makefile modifications
- dependency repos moved to "vendor/<package name>"; delete
  "vendor/repos" by hand after making sure it contains no unpushed work
- fixed the "validator_keygen" build and merged it with that of "beacon_node"
2019-01-09 22:26:40 +02:00
Ștefan Talpalaru 262eefac26 - marked the phony targets explicitly
- replaced `nimble` with `nim` for compiling, since `nim` already knows
  how to add the Nimble packages to its module path
- better target dependencies for "beacon_node" and "validator_keygen"
2019-01-09 14:25:00 +02:00
Ștefan Talpalaru afb76ff65c rebuild Nimble's package db when cloning newly added REPOS items 2019-01-09 14:25:00 +02:00
Zahary Karadjov 8b054858b3 Add build targets for nim-beacon-chain 2019-01-09 14:25:00 +02:00
Ștefan Talpalaru bd9d15d947 new build system
- isolate dependencies (both Git repos and ".nimble" dir) in "vendor"
- ensure that everything is compiled using our version of Nim with
  something as simple as "make"
- pull the latest changes with "make update"
- re-create Nimble's package dir and re-build the Nim compiler automatically when needed
- "env.sh" script that can be used to prefix any command that needs to use
  "nim" or "nimble" from our Nim repo
- move the top level nim.cfg to nimbus/nim.cfg so it doesn't apply to
  deps
- "fetch-dlls" `make` target for Windows to get precompiled Snappy, RocksDB and SQLite DLLs
2019-01-09 14:25:00 +02:00