cide 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/cide.gemspec +1 -1
- data/docs/sidebar.md +2 -1
- data/lib/cide/cli.rb +4 -4
- 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: 448bec20bb2da007599668a8a7e25e1a1e2dbfb3
|
4
|
+
data.tar.gz: de4f6cd1c52ba1f3d483b5768e9cae4d06a4f1b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3a8e475acf9dd10ebbbc09035884322f74dd579ec725fece66b36b37be8afddd8ab80e5344419348337bddf124eed71dbbd58e8929523bb25a1a715704caeb4
|
7
|
+
data.tar.gz: d3f82460d908ad40dc01ccfc54da9d14dd9c770df8aebca667ad2463b8697261bddfcf3a0eddc643d004c44ebf2aa82dcdbebd4993fc8542324c28e480a12da3
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/cide.gemspec
CHANGED
data/docs/sidebar.md
CHANGED
@@ -14,9 +14,10 @@
|
|
14
14
|
|
15
15
|
## Man pages
|
16
16
|
- [man 1 cide](#man/cide.1)
|
17
|
-
- [man 1 cide-build](#man/cide-build.1)
|
18
17
|
- [man 1 cide-clean](#man/cide-clean.1)
|
19
18
|
- [man 1 cide-debug](#man/cide-debug.1)
|
19
|
+
- [man 1 cide-exec](#man/cide-build.1)
|
20
20
|
- [man 1 cide-init](#man/cide-init.1)
|
21
|
+
- [man 1 cide-package](#man/cide-package.1)
|
21
22
|
- [man 1 cide.yml](#man/cide.yml.1)
|
22
23
|
|
data/lib/cide/cli.rb
CHANGED
@@ -123,7 +123,7 @@ module CIDE
|
|
123
123
|
type: :boolean,
|
124
124
|
default: true
|
125
125
|
|
126
|
-
method_option '
|
126
|
+
method_option 'set_version',
|
127
127
|
desc: 'Tells cide the package version, otherwise extracted from git',
|
128
128
|
default: nil
|
129
129
|
|
@@ -142,7 +142,9 @@ module CIDE
|
|
142
142
|
guest_export_dir = '/cide/package'
|
143
143
|
host_export_dir = File.join(build_root, 'package')
|
144
144
|
|
145
|
-
|
145
|
+
FileUtils.rm_rf(build_root)
|
146
|
+
|
147
|
+
version = options.set_version || (
|
146
148
|
git_branch = `git symbolic-ref --short -q HEAD || echo unknown`.strip
|
147
149
|
git_rev = `git rev-parse --short HEAD`.strip
|
148
150
|
"#{git_branch}-#{git_rev}"
|
@@ -178,8 +180,6 @@ module CIDE
|
|
178
180
|
## Export ##
|
179
181
|
banner 'Export'
|
180
182
|
|
181
|
-
FileUtils.rm_rf(build_root)
|
182
|
-
|
183
183
|
runner.export!(
|
184
184
|
guest_dir: guest_export_dir,
|
185
185
|
host_dir: host_export_dir,
|