homebrew_automation 0.1.2 → 0.1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fa749397cec51ec4237dcc7d68977f9d9f17efc3474247f7a15ebe5b5d22a27
|
|
4
|
+
data.tar.gz: bcf765d4779748aab17dddea1f6c1c653e2e7152ba9afb7383bfc664804a3e58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7d0d5385ed82116aee5ee18d08c18bc93eabb527b3081347696ffff6c725d512d58799cb865942859e9ffdf33d914527c6647cd07b43845d39d173ea624a36d
|
|
7
|
+
data.tar.gz: 915c01241c91bdb4f5ccf369f9d7db8abaa34a1a5c80e8755124d63d055812c856075e45ec1e63a69f3591cdda79a289b7257b211f3c0f19570f10e2b4bbfff5
|
|
@@ -34,8 +34,9 @@ module HomebrewAutomation
|
|
|
34
34
|
# @return [nil]
|
|
35
35
|
def build
|
|
36
36
|
die unless system 'brew', 'tap', tmp_tap_name, @tap_url
|
|
37
|
-
maybe_keep_tmp = @keep_tmp ? '--keep-tmp' :
|
|
38
|
-
|
|
37
|
+
maybe_keep_tmp = @keep_tmp ? ['--keep-tmp'] : []
|
|
38
|
+
install_cmd = ['brew', 'install', '--verbose'] + maybe_keep_tmp + ['--build-bottle', fully_qualified_formula_name]
|
|
39
|
+
die unless system(*install_cmd)
|
|
39
40
|
die unless system 'brew', 'bottle', '--verbose', '--json', '--no-rebuild', fully_qualified_formula_name
|
|
40
41
|
end
|
|
41
42
|
|
|
@@ -29,7 +29,12 @@ class HomebrewAutomation::CLI::WorkflowCommands < Thor
|
|
|
29
29
|
HERE_HERE
|
|
30
30
|
option :keep_brew_tmp, :type => :boolean
|
|
31
31
|
def build_and_upload
|
|
32
|
-
workflow.build_and_upload_bottle(
|
|
32
|
+
workflow.build_and_upload_bottle(
|
|
33
|
+
sdist,
|
|
34
|
+
tap,
|
|
35
|
+
formula_name,
|
|
36
|
+
bintray_version,
|
|
37
|
+
keep_homebrew_tmp: options[:keep_brew_tmp])
|
|
33
38
|
end
|
|
34
39
|
|
|
35
40
|
desc 'gather-and-publish', 'Make the Tap aware of new Bottles'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: homebrew_automation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- easoncxz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|