anvil-cli 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/anvil/builder.rb +2 -1
- data/lib/anvil/cli.rb +1 -0
- data/lib/anvil/engine.rb +2 -1
- data/lib/anvil/manifest.rb +2 -1
- data/lib/anvil/version.rb +1 -1
- metadata +8 -8
data/lib/anvil/builder.rb
CHANGED
data/lib/anvil/cli.rb
CHANGED
@@ -15,6 +15,7 @@ class Anvil::CLI < Thor
|
|
15
15
|
|
16
16
|
method_option :buildpack, :type => :string, :aliases => "-b", :desc => "Use a specific buildpack"
|
17
17
|
method_option :pipeline, :type => :boolean, :aliases => "-p", :desc => "Pipe compile output to stderr and put the slug url on stdout"
|
18
|
+
method_option :type, :type => :string, :aliases => "-t", :desc => "Build a specific slug type (tgz, deb)"
|
18
19
|
|
19
20
|
def build(source=nil)
|
20
21
|
Anvil::Engine.build(source, options)
|
data/lib/anvil/engine.rb
CHANGED
@@ -22,7 +22,8 @@ class Anvil::Engine
|
|
22
22
|
buildpack = options[:buildpack] || read_anvil_metadata(source, "buildpack")
|
23
23
|
|
24
24
|
build_options = {
|
25
|
-
:buildpack => prepare_buildpack(buildpack)
|
25
|
+
:buildpack => prepare_buildpack(buildpack),
|
26
|
+
:type => options[:type] || "tgz"
|
26
27
|
}
|
27
28
|
|
28
29
|
builder = if is_url?(source)
|
data/lib/anvil/manifest.rb
CHANGED
data/lib/anvil/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anvil-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: progress
|
16
|
-
requirement: &
|
16
|
+
requirement: &70263468499340 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.4.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70263468499340
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rest-client
|
27
|
-
requirement: &
|
27
|
+
requirement: &70263468498620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.6.7
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70263468498620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: thor
|
38
|
-
requirement: &
|
38
|
+
requirement: &70263468497660 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 0.15.2
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70263468497660
|
47
47
|
description: Alternate Heroku build workflow
|
48
48
|
email: david@dollar.io
|
49
49
|
executables:
|