dragon 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -0
- data/bin/dragon +8 -8
- data/lib/dragon/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -35,6 +35,13 @@ A deployment tool inspired by and is using [Rye][1].
|
|
35
35
|
|
36
36
|
dragify .
|
37
37
|
|
38
|
+
## Contributing
|
39
|
+
|
40
|
+
- Fork the project.
|
41
|
+
- Make your feature addition or bug fix, write tests.
|
42
|
+
- Commit, do not mess with rakefile, version, or history.
|
43
|
+
- Make a pull request.
|
44
|
+
|
38
45
|
----
|
39
46
|
|
40
47
|
## Copyright
|
data/bin/dragon
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
$:.unshift File.expand_path('../../lib', __FILE__)
|
4
|
-
require '
|
5
|
-
require '
|
6
|
-
require '
|
4
|
+
require 'dragon'
|
5
|
+
require 'dragon/usage'
|
6
|
+
require 'dragon/options'
|
7
7
|
|
8
8
|
if $*.empty? || $*[0] == '-h'
|
9
|
-
puts
|
9
|
+
puts Dragon.usage
|
10
10
|
exit 0
|
11
11
|
end
|
12
12
|
if $*[0] == '-v'
|
13
|
-
puts
|
13
|
+
puts Dragon::VERSION
|
14
14
|
exit 0
|
15
15
|
end
|
16
16
|
|
17
17
|
begin
|
18
|
-
options =
|
19
|
-
rescue
|
18
|
+
options = Dragon::Options.parse( Dir.pwd, $* )
|
19
|
+
rescue Dragon::Exceptions::DepfileMissing => e
|
20
20
|
puts e.message
|
21
21
|
exit 0
|
22
22
|
end
|
23
|
-
|
23
|
+
Dragon::Deploy.new(options).run
|
24
24
|
|
25
25
|
puts
|
26
26
|
puts "Done!"
|
data/lib/dragon/version.rb
CHANGED