vx-builder 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90e57e1a9098ab59701132e700dec2d02d34ec36
|
|
4
|
+
data.tar.gz: c6ac28c119acaf1a000cf76ab1f6d36c766ed039
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cad33cd21921e1224bcad1b8e0fde1ee89b76d29444cba2d6cb0bfac18478a01bcf033b96eb9f60c47604d1e3e59d1edb1cb9a324dc76cc27ba28116384aebc6
|
|
7
|
+
data.tar.gz: deb26ec734b93c8bc8e612b9a2da4258b3ca6b5fb18f6977a5358abeabb75848b503171de65597285d84dc580cecc84c75c6b3abd1c42d7d62541b72e3f6b0b8
|
|
@@ -11,9 +11,8 @@ module Vx
|
|
|
11
11
|
do_before_install(env) do |i|
|
|
12
12
|
|
|
13
13
|
vxvm_install = "sudo vxvm install go #{go_version env}"
|
|
14
|
-
i << trace_sh_command(vxvm_install)
|
|
15
|
-
i << %{
|
|
16
|
-
i << %{eval "$VX_VM_EVAL"}
|
|
14
|
+
i << trace_sh_command(%{VX_VM_SOURCE="$(#{vxvm_install})"}, trace: vxvm_install)
|
|
15
|
+
i << %{source "$VX_VM_SOURCE"}
|
|
17
16
|
|
|
18
17
|
i << trace_sh_command('export GOPATH=$VX_ROOT/gopath')
|
|
19
18
|
i << trace_sh_command('export PATH=$GOPATH/bin:$PATH')
|
data/lib/vx/builder/version.rb
CHANGED
|
@@ -37,10 +37,9 @@ curl --fail --silent --show-error https://raw.githubusercontent.com/vexor/vx-pac
|
|
|
37
37
|
chmod +x $VX_ROOT/bin/vxvm
|
|
38
38
|
|
|
39
39
|
# before install
|
|
40
|
-
echo \$\ vxvm\ install\ go\ 1.2
|
|
41
|
-
vxvm install go 1.2
|
|
42
|
-
|
|
43
|
-
eval "$VX_VM_EVAL"
|
|
40
|
+
echo \$\ sudo\ vxvm\ install\ go\ 1.2
|
|
41
|
+
VX_VM_SOURCE="$(sudo vxvm install go 1.2)"
|
|
42
|
+
source "$VX_VM_SOURCE"
|
|
44
43
|
echo \$\ export\ GOPATH\=\$VX_ROOT/gopath
|
|
45
44
|
export GOPATH=$VX_ROOT/gopath
|
|
46
45
|
echo \$\ export\ PATH\=\$GOPATH/bin:\$PATH
|
data/spec/integration/go_spec.rb
CHANGED
|
@@ -10,6 +10,7 @@ describe "(integration) go" do
|
|
|
10
10
|
subject { matrix }
|
|
11
11
|
|
|
12
12
|
def write_script_to_filter(prefix)
|
|
13
|
+
=begin
|
|
13
14
|
File.open(fixture_path("integration/go/#{prefix}before_script.sh"), 'w') do |io|
|
|
14
15
|
io << script.to_before_script
|
|
15
16
|
end
|
|
@@ -19,6 +20,7 @@ describe "(integration) go" do
|
|
|
19
20
|
File.open(fixture_path("integration/go/#{prefix}script.sh"), 'w') do |io|
|
|
20
21
|
io << script.to_script
|
|
21
22
|
end
|
|
23
|
+
=end
|
|
22
24
|
end
|
|
23
25
|
|
|
24
26
|
context "language" do
|