Vasil Dimov
5538f658ba
use $(MAKE) instead of 'make' in Makefiles (follow-up to f3dc11c)
...
License: MIT
Signed-off-by: Vasil Dimov <vd@FreeBSD.org>
2016-09-26 22:22:02 +03:00
Jeromy
94a0e16b67
update gx binary requirements
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-23 11:03:43 -07:00
Jeromy
4974136a1a
bump go requirement to 1.7
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-23 10:46:17 -07:00
Jakub Sztandera
cc60f6909b
make: cleanup -rm calls
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
f93ce30018
make: squash install, build and nofuse rules
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
c1014aea88
make: 'make clean' clears sharness too
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
f3dc11c566
use $(MAKE) instead of 'make' in Makefiles
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
7be60c9b13
make: run sharness in single thread
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jeromy
70cd1dac9a
update gx version
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 08:08:00 -07:00
Dominic Della Valle
228c4db6d7
Fix Makefile on Windows
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2016-07-16 18:37:43 -04:00
Péter Szilágyi
dbc1d3f2d3
Makefile, bin: Support multiple GOPATH components
...
License: MIT
Signed-off-by: Péter Szilágyi <peterke@gmail.com>
2016-07-16 18:06:16 -04:00
Lars Gierth
ad461c611e
Revert "Makefile, bin: Support multiple GOPATH components"
...
This reverts commit ff75bc0318 ,
which broke building on windows. See ipfs/go-ipfs#2833 .
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-17 15:32:40 +02:00
Jakub Sztandera
32cdbbdffa
Fix DHT tests failing because of repeated addresses
...
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>
2016-06-14 16:39:15 +02:00
Péter Szilágyi
ff75bc0318
Makefile, bin: Support multiple GOPATH components
...
License: MIT
Signed-off-by: Péter Szilágyi <peterke@gmail.com>
2016-06-05 21:39:02 +03:00
Lars Gierth
864e305557
build: specify a dist.ipfs.io hash
...
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>
2016-05-17 02:33:35 +02:00
Christian Couder
b5c6a62e63
Makefile: remove toolkit_upgrade target
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-16 06:23:04 +02:00
Jeromy
db5d730fb9
bump gx version to 0.7.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 13:19:14 -07:00
Jeromy
1e31839cc2
use repo level bins in test Makefile
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 12:48:06 -07:00
Jeromy
06a8a5bdb6
use gx-go 1.2.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
4b6828ebfe
stricter makefile targets
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
284bb1866f
add a dist_get script for getting bins from dist.ipfs.io
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Christian Couder
f24aa85c8e
Makefile: add variables for min versions of go, gx and gx-go
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-04 20:25:17 +02:00
Christian Couder
c777ac05da
Makefile: update gx and gx-go versions
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-04 07:04:40 +02:00
Jeromy Johnson
60f1ba1f81
Merge pull request #2593 from kevina/refactor-makefile
...
Refactor Makefile.
2016-04-28 10:33:01 -07:00
Kevin Atkinson
31421aeace
Refactor Makefile.
...
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>
2016-04-28 01:28:42 -04:00
Jeromy Johnson
973266ae11
re-add dep needed for windows builds ( #2611 )
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-27 11:49:15 -07:00
Andrew Chin
0dea50be68
Adds 'toolkit_upgrade' to the makefile help target
...
License: MIT
Signed-off-by: Andrew Chin <achin@eminence32.net>
2016-04-13 17:18:57 -04:00
Steven Allen
5b763e8a08
allow users to override the IPFS API address when fetching dependencies
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2016-03-28 10:14:50 -07:00
Lars Gierth
6c74ac0d91
build: have install task not depend on build tasks, unneccessary
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-03-10 19:26:57 +01:00
Lars Gierth
7d67b0a69c
build: fix path_check for symlink-into-gopath usecase
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-03-10 19:23:12 +01:00
Jeromy Johnson
6d4da612dd
Merge pull request #2399 from ipfs/fix/assert-gopath
...
assert that you must build from inside your gopath
2016-03-02 13:00:23 -08:00
Jeromy
64c6943ae2
remove trailing whitespace
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-03-02 10:10:04 -08:00
Jeromy
aa6db5dde3
use makes realpath so its more crossplatform
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-03-01 11:24:01 -08:00
Jakub Sztandera
07ffab63f4
Make Makefile patch to use global gateway actually work
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-02-27 11:15:55 +01:00
Jeromy
65519a0367
move gopath check to separate script and use realpath for symlink handling
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 22:26:37 -08:00
Jeromy
cdea07dfc3
move rule to be depended on by deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 17:52:07 -08:00
Jeromy
7198819671
assert that you must build from inside your gopath
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 17:51:31 -08:00
Jeromy Johnson
ff341c7579
Merge pull request #2398 from ipfs/check-go-version
...
Check go version
2016-02-23 17:50:29 -08:00
Christian Couder
6c959c8c6f
Makefile: add go_check target
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-23 22:35:26 +01:00
Jeromy
a36da6b417
force gx to use 0.4.0 gateways for now
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-22 17:47:14 -08:00
Jakub Sztandera
cd34b3d405
Do not install gx unless user asks for it
...
Build scripts should never touch user's environment.
This patch intoduces existance and version check for gx and gx-go
Prints nice error message if they are missing or outdated.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-02-14 23:45:13 +01:00
Jeromy
337313845d
add deps target to nofuse
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-05 16:00:57 -08:00
Jeromy
c9b83c506c
makefile fixes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-05 15:50:40 -08:00
Jeromy
9c05a0d222
verbose gx install
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:13 -08:00
Jeromy
0dba051ce5
add better makefile and reference gx stuff in readme
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:10 -08:00
Jeromy
3b784b50a8
add makefile rule for grabbing gx and deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:08 -08:00
Thomas Gardner
de4e34d242
Makefile: add PHONY targets and a help message
...
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-01-27 11:11:01 +10:00
Lars Gierth
c38efdac64
makefile: add -ldflags to install and nofuse tasks
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-12-14 04:27:01 +01:00
Jeromy Johnson
aa8c190d0b
remove nofuse tag from windows build check (no longer needed)
...
License: MIT
Signed-off-by: Jeromy Johnson <why@ipfs.io>
2015-11-23 11:05:51 -08:00
Jeromy
8d6340268a
add check to makefile to ensure windows builds dont fail silently
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-28 14:24:15 -07:00