the_hulk 0.0.7 → 0.0.8
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 +10 -10
- data/lib/hulk/version.rb +1 -1
- data/lib/hulk.rb +0 -4
- metadata +1 -1
data/README.md
CHANGED
|
@@ -10,12 +10,12 @@ After adding a `hulk.yml` file to your project root, simply reference the follow
|
|
|
10
10
|
|
|
11
11
|
```YML
|
|
12
12
|
push:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
- "git add ."
|
|
14
|
+
- "git commit -m 'Made some changes.'"
|
|
15
|
+
- "git push origin master"
|
|
16
16
|
deploy:
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
- --push
|
|
18
|
+
- "git push -f heroku dev:master"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
The above example will give you the following:
|
|
@@ -34,17 +34,17 @@ Hulk can support variables in commands, with the use of `$$` as a placeholder.
|
|
|
34
34
|
|
|
35
35
|
```YML
|
|
36
36
|
build:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
- "rake precompile:$$"
|
|
38
|
+
- "git add ."
|
|
39
|
+
- "git commit -m '$$'"
|
|
40
|
+
- "git push -f heroku:$$"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Feel free to use multiple variables.
|
|
44
44
|
|
|
45
45
|
```YML
|
|
46
46
|
perform:
|
|
47
|
-
|
|
47
|
+
- "$$ and then $$ followed by $$"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Hulk will prompt you for each variable in your build before it runs, and then you may step away as Hulk smashes through your build with your assigned variables.
|
data/lib/hulk/version.rb
CHANGED
data/lib/hulk.rb
CHANGED