itamae-plugin-recipe-anyenv 0.3.3 → 0.3.4
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 +4 -4
- data/lib/itamae/plugin/recipe/anyenv.rb +3 -1
- data/lib/itamae/plugin/recipe/anyenv/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1587f042150113f09c3801c0c4f849b75e089533
|
|
4
|
+
data.tar.gz: 07f57087b4917fea9f7f048cd893925b24673b8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69b0dfc456fe5cb771df9ac6c278a56426684e8464492d38dacc1511c21d92f30501177295a803da22d5dc0f4ce6da6f11eccf1701464e0dc6162fc3c427311e
|
|
7
|
+
data.tar.gz: cc5929ae7937c6e222e1fc05f7dbc3c8e21e61525c4b2e334120cc6952baeb4c1e1262a980e73cb9b2ab6d55c5a0811f296937c3d126baf6aa4c08b7d060fc7c
|
|
@@ -57,6 +57,8 @@ def clone_repository(install_path, repo_path)
|
|
|
57
57
|
repository repo_path if repo_path
|
|
58
58
|
not_if "test -d #{install_path}"
|
|
59
59
|
end
|
|
60
|
+
|
|
61
|
+
directory "#{@anyenv_root_path}/envs"
|
|
60
62
|
end
|
|
61
63
|
|
|
62
64
|
def clone_anyenv
|
|
@@ -87,7 +89,7 @@ end
|
|
|
87
89
|
def install_env(envname)
|
|
88
90
|
execute "install #{envname}" do
|
|
89
91
|
user @username if @username
|
|
90
|
-
command "#{@init_cmd} yes | anyenv install #{envname}"
|
|
92
|
+
command "#{@init_cmd} yes | anyenv install #{envname}; #{@init_cmd}"
|
|
91
93
|
not_if "#{@init_cmd} type #{envname}"
|
|
92
94
|
end
|
|
93
95
|
end
|