Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
bdb11564
提交
bdb11564
authored
5月 15, 2016
作者:
Jeromy Johnson
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2701 from ipfs/fix-toolkit_upgrade-removal
Fix toolkit_upgrade Makefile target removal
上级
f40127d2
12cdbe6c
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
14 行删除
+6
-14
Makefile
Makefile
+2
-4
README.md
README.md
+3
-9
appveyor.yml
appveyor.yml
+1
-1
没有找到文件。
Makefile
浏览文件 @
bdb11564
...
...
@@ -22,8 +22,6 @@ all: help
godep
:
go get github.com/tools/godep
toolkit_upgrade
:
gx_upgrade gxgo_upgrade
go_check
:
@
bin/check_go_version
$(IPFS_MIN_GO_VERSION)
...
...
@@ -68,7 +66,7 @@ clean:
uninstall
:
make
-C
cmd/ipfs uninstall
PHONY
+=
all
help
godep
toolkit_upgrade
gx_check
PHONY
+=
all
help
godep gx_check
PHONY
+=
go_check deps vendor install build nofuse clean uninstall
##############################################################
...
...
@@ -125,7 +123,7 @@ PHONY += test test_short test_expensive
help
:
@
echo
'DEPENDENCY TARGETS:'
@
echo
''
@
echo
'
toolkit_upgrade - Installs or upgrades gx
'
@
echo
'
gx_check - Installs or upgrades gx and gx-go
'
@
echo
' deps - Download dependencies using gx'
@
echo
' vendor - Create a Godep workspace of 3rd party dependencies'
@
echo
''
...
...
README.md
浏览文件 @
bdb11564
...
...
@@ -72,8 +72,7 @@ export PATH=$PATH:$GOPATH/bin
go-ipfs differs from the vanilla
`go get`
flow: it uses
[
gx
](
https://github.com/whyrusleeping/gx
)
/
[
gx-go
](
https://github.com/whyrusleeping/gx-go
)
for dependency management. This means you'll need to perform download and
install steps separately.
for dependency management.
First download
`go-ipfs`
without installing:
...
...
@@ -83,13 +82,7 @@ $ go get -d github.com/ipfs/go-ipfs
$ cd $GOPATH/src/github.com/ipfs/go-ipfs
```
If you don't already have them on your system, install
`gx`
and
`gx-go`
:
```
sh
$
make toolkit_upgrade
```
Finally, install
`go-ipfs`
:
Then install
`go-ipfs`
and its dependencies, including
`gx`
and
`gx-go`
:
```
$ make install
...
...
@@ -97,6 +90,7 @@ $ make install
#### Troubleshooting
*
Separate
[
instructions are available for building on Windows
](
docs/windows.md
)
.
*
`git`
is required in order for
`go get`
to fetch all dependencies.
*
Package managers often contain out-of-date
`golang`
packages.
Ensure that
`go version`
reports at least 1.5.2. See above for how to install go.
...
...
appveyor.yml
浏览文件 @
bdb11564
...
...
@@ -40,7 +40,7 @@ install:
# default file handles. Ensure a dummy file descriptor is opened with 'exec'.
#
build_script
:
-
'
%BASH%
-lc
"cd
$APPVEYOR_BUILD_FOLDER;
exec
0</dev/null;
export
PATH=$GOPATH/bin:$PATH;
make
toolkit_upgrade;
make
nofuse"'
-
'
%BASH%
-lc
"cd
$APPVEYOR_BUILD_FOLDER;
exec
0</dev/null;
export
PATH=$GOPATH/bin:$PATH;
make
nofuse"'
test_script
:
-
'
%BASH%
-lc
"cd
$APPVEYOR_BUILD_FOLDER;
exec
0</dev/null;
export
PATH=$GOPATH/bin:$PATH;
export
GOFLAGS='
'
-tags
nofuse'
'
;
export
TEST_NO_FUSE=1;
export
TEST_VERBOSE=1;
export
TEST_SUITE=test_sharness_expensive;
make
$TEST_SUITE"'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论