the_hulk 0.0.5 → 0.0.6
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.
- data/README.md +16 -2
- data/lib/hulk/version.rb +1 -1
- metadata +15 -9
- checksums.yaml +0 -7
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
hulk
|
|
2
2
|
====
|
|
3
3
|
|
|
4
|
-
Hulk is an ultra simple command line tool for running a list of bash commands synchronously.
|
|
4
|
+
Hulk is an ultra simple command line tool for running a list of bash commands synchronously.
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
@@ -26,4 +26,18 @@ The above example will give you the following:
|
|
|
26
26
|
|
|
27
27
|
As shown in the above example, you can call other builds within your current build. Simply prefix the build name with `--` and hulk will understand what you're asking. After running the other build, hulk will continue on with the initial build called.
|
|
28
28
|
|
|
29
|
-
You can mix and match builds with commands, and nest builds as frequent, or infrequent as you like. Hulk can handle it.
|
|
29
|
+
You can mix and match builds with commands, and nest builds as frequent, or infrequent as you like. Hulk can handle it.
|
|
30
|
+
|
|
31
|
+
### Using variables
|
|
32
|
+
|
|
33
|
+
Hulk can support one variable per command, with the use of `$$` as a placeholder.
|
|
34
|
+
|
|
35
|
+
```YML
|
|
36
|
+
build:
|
|
37
|
+
- "rake precompile:$$"
|
|
38
|
+
- "git add ."
|
|
39
|
+
- "git commit -m '$$'"
|
|
40
|
+
- "git push -f heroku:$$"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Hulk runs two passes on your .yml file and will discover all variables before the commands begin running. Hulk will prompt you for each variable in your build before the build runs, and then you may step away as Hulk smashes through your build with your assigned variables.
|
data/lib/hulk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: the_hulk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
7
|
authors:
|
|
7
8
|
- Ethan Welborn
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: bundler
|
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
16
18
|
requirements:
|
|
17
19
|
- - ~>
|
|
18
20
|
- !ruby/object:Gem::Version
|
|
@@ -20,6 +22,7 @@ dependencies:
|
|
|
20
22
|
type: :development
|
|
21
23
|
prerelease: false
|
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
23
26
|
requirements:
|
|
24
27
|
- - ~>
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
@@ -27,15 +30,17 @@ dependencies:
|
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
|
28
31
|
name: rake
|
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
30
34
|
requirements:
|
|
31
|
-
- - '>='
|
|
35
|
+
- - ! '>='
|
|
32
36
|
- !ruby/object:Gem::Version
|
|
33
37
|
version: '0'
|
|
34
38
|
type: :development
|
|
35
39
|
prerelease: false
|
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
37
42
|
requirements:
|
|
38
|
-
- - '>='
|
|
43
|
+
- - ! '>='
|
|
39
44
|
- !ruby/object:Gem::Version
|
|
40
45
|
version: '0'
|
|
41
46
|
description: Hulk takes a .yml file with sets of commands that it can run sequentially.
|
|
@@ -58,25 +63,26 @@ files:
|
|
|
58
63
|
homepage: https://github.com/ethanwelborn/hulk
|
|
59
64
|
licenses:
|
|
60
65
|
- MIT
|
|
61
|
-
metadata: {}
|
|
62
66
|
post_install_message:
|
|
63
67
|
rdoc_options: []
|
|
64
68
|
require_paths:
|
|
65
69
|
- lib
|
|
66
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
|
+
none: false
|
|
67
72
|
requirements:
|
|
68
|
-
- - '>='
|
|
73
|
+
- - ! '>='
|
|
69
74
|
- !ruby/object:Gem::Version
|
|
70
75
|
version: '0'
|
|
71
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
none: false
|
|
72
78
|
requirements:
|
|
73
|
-
- - '>='
|
|
79
|
+
- - ! '>='
|
|
74
80
|
- !ruby/object:Gem::Version
|
|
75
81
|
version: '0'
|
|
76
82
|
requirements: []
|
|
77
83
|
rubyforge_project:
|
|
78
|
-
rubygems_version:
|
|
84
|
+
rubygems_version: 1.8.23
|
|
79
85
|
signing_key:
|
|
80
|
-
specification_version:
|
|
86
|
+
specification_version: 3
|
|
81
87
|
summary: Super simple, super strong command runner.
|
|
82
88
|
test_files: []
|
checksums.yaml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: 0a8acae90df239dadd0816fa7b0c059bece0a8a9
|
|
4
|
-
data.tar.gz: 5875140383e9c7b65a2f35bc6c0f232f4c9b6f9b
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz: fd23ef8b5a8afd8dc7087f90a48c7c557af1f1ebfa64e5228ec33faa3e50efe8342ea3d31be0ef93ee421636c8d4abafe74e7e4453b9fbab9c173e4b14eca17e
|
|
7
|
-
data.tar.gz: ed8c95111ee7f2e1e90622a291c67b6a74e1b43159908a8f4b8c3359e5fbd87b9ec4f07e8e833493d47e190e4e2dcf8e47c5285be417b3577f456daaf04e61dd
|