1. 29 Jun, 2017 1 commit
  2. 31 May, 2017 1 commit
  3. 18 May, 2017 3 commits
  4. 14 May, 2017 1 commit
  5. 26 Apr, 2017 4 commits
  6. 20 Apr, 2017 1 commit
  7. 07 Mar, 2017 1 commit
  8. 02 Mar, 2017 3 commits
  9. 17 Feb, 2017 2 commits
  10. 16 Feb, 2017 1 commit
  11. 14 Feb, 2017 4 commits
  12. 12 Feb, 2017 2 commits
    • Jeromy's avatar
      update go-multihash and bubble up deps · fcea3278
      Jeromy authored
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      fcea3278
    • Jakub Sztandera's avatar
      make: rework makefiles for non-recursive make and add sharness coverage · 99cea5f1
      Jakub Sztandera authored
      This commit introduces non-recursive Makefile infrastructure that replaces current Makefile infrastructure.
      It also generally cleanups the Makefiles, separates them into nicer sub-modules and centralizes common operations into single definitions.
      
      It allows to depend on any target that is defined in the makefile, this means that for example `gx install` is called once when `make build test_expensive_sharness` is called instead of 4 or 5 times.
      
      It also makes the dependencies much cleaner and allows for reuse of modules. For example sharness coverage collection (WIP) uses sharness target with amended PATH, previously it might have been possible but not without wiring in the coverage collection into sharness make runner code.
      
      Yes, it is more complex but not much more. There are few rules that have to be followed and few complexities added but IMHO it is worth it.
      
      How to NR-make:
      1. If make is to generate some file via a target, it MUST be defined in Rules.mk file in the directory of the target.
      2. `Rules.mk` file MUST have `include mk/header.mk` statement as the first line and `include mk/footer.mk` statement as the last line (apart from project root `Rules.mk`).
      3. It then MUST be included by the closest `Rules.mk` file up the directory tree.
      4. Inside a `Rules.mk` special variable accessed as `$(d)` is defined. Its value is current directory, use it so if the `Rules.mk` file is moved in the tree it still works without a problem. Caution: this variable is not available in the recipe part and MUST NOT be used. Use name of the target or prerequisite to extract it if you need it.
      5. Make has only one global scope, this means that name conflicts are a thing. Names SHOULD  follow `VAR_NAME_$(d)` convention. There are exceptions from this rule in form of well defined global variables. Examples: General lists `TGT_BIN`, `CLEAN`; General targets: `TEST`, `COVERAGE`; General variables: `GOFLAGS`, `DEPS_GO`.
      3. Any rules, definitions or variables that fit some family SHOULD be defined in `mk/$family.mk` file and included from project root `Rules.mk`
      
      License: MIT
      Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
      99cea5f1
  13. 09 Feb, 2017 1 commit
  14. 06 Feb, 2017 1 commit
  15. 21 Jan, 2017 1 commit
  16. 11 Jan, 2017 2 commits
  17. 10 Jan, 2017 1 commit
  18. 15 Dec, 2016 1 commit
  19. 14 Dec, 2016 1 commit
  20. 10 Dec, 2016 1 commit
  21. 29 Nov, 2016 4 commits
  22. 16 Nov, 2016 1 commit
  23. 04 Nov, 2016 1 commit
  24. 02 Nov, 2016 1 commit