- 12 Feb, 2017 2 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
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: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 10 Jan, 2017 1 commit
-
-
Jakub Sztandera authored
I probably silienced it when I was working on some Makefile License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 06 Dec, 2016 3 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 04 Dec, 2016 2 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
It is covered by sharness License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 02 Dec, 2016 2 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 24 Nov, 2016 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 26 Sep, 2016 1 commit
-
-
Vasil Dimov authored
License: MIT Signed-off-by: Vasil Dimov <vd@FreeBSD.org>
-
- 31 Aug, 2016 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 23 Aug, 2016 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 04 Aug, 2016 5 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 19 Jul, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 16 Jul, 2016 2 commits
-
-
Dominic Della Valle authored
License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
-
Péter Szilágyi authored
License: MIT Signed-off-by: Péter Szilágyi <peterke@gmail.com>
-
- 17 Jun, 2016 1 commit
-
-
Lars Gierth authored
This reverts commit ff75bc03, which broke building on windows. See ipfs/go-ipfs#2833. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 14 Jun, 2016 1 commit
-
-
Jakub Sztandera authored
Due to SO_REUSE_PORT it is possible for a localhost:0 address to repeat. This causes failure in DHT tests where we spun up a lot of nodes inside test. As for a birthday paradox it is enough to use 140 ports to get 20% chance for collision which was causing failure in our case. The fix is to disable REUSE_PORT routine for the tests and leave it running for sharness tests where not that many addresses are used at the same time. License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 05 Jun, 2016 1 commit
-
-
Péter Szilágyi authored
License: MIT Signed-off-by: Péter Szilágyi <peterke@gmail.com>
-
- 17 May, 2016 1 commit
-
-
Lars Gierth authored
Right now bin/dist_get trusts whatever DNS resolver is active. This change enables it to verify what it downloads. Verification itself remains TODO. This will work best with a unixfs-hash tool which is TODO too. It'd just do the equivalent of `ipfs add -n -r <dirOrFile>`. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 16 May, 2016 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 09 May, 2016 5 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 04 May, 2016 2 commits
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 28 Apr, 2016 1 commit
-
-
Kevin Atkinson authored
Move the go commands that should run under cmd/ipfs in the Makefile in cmd/ipfs rather than doing a "cd cmd/ipfs && go ..." in the root Makefile. The "cd cmd/ipfs && go ..." lines causes problems with GNU Emacs's compilation mode. With the current setup Emacs is unable to jump to the location of the error outputted by go compiler as it can not find the source file. The problem is that the embedded "cd" command causes Emacs's compilation mode to lose track of the current directory and thus attempts to look for the source file in the wrong directory. License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
-
- 27 Apr, 2016 1 commit
-
-
Jeromy Johnson authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 13 Apr, 2016 1 commit
-
-
Andrew Chin authored
License: MIT Signed-off-by: Andrew Chin <achin@eminence32.net>
-
- 28 Mar, 2016 1 commit
-
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-