fire 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.index +53 -0
- data/.yardopts +10 -0
- data/HISTORY.md +33 -0
- data/LICENSE.txt +29 -0
- data/README.md +217 -0
- data/bin/autofire +5 -0
- data/bin/fire +5 -0
- data/demo/03_runner/01_applying_rules.md +51 -0
- data/demo/03_runner/02_resolve_prerequisites.md +95 -0
- data/demo/applique/ae.rb +1 -0
- data/demo/applique/fire.rb +1 -0
- data/demo/applique/rules.rb +5 -0
- data/demo/overview.md +14 -0
- data/lib/fire.rb +3 -0
- data/lib/fire.yml +53 -0
- data/lib/fire/cli.rb +64 -0
- data/lib/fire/core_ext.rb +4 -0
- data/lib/fire/core_ext/boolean.rb +10 -0
- data/lib/fire/core_ext/cli.rb +56 -0
- data/lib/fire/core_ext/true_class.rb +58 -0
- data/lib/fire/digest.rb +112 -0
- data/lib/fire/dsl.rb +34 -0
- data/lib/fire/match.rb +26 -0
- data/lib/fire/rule.rb +103 -0
- data/lib/fire/rulefile.rb +12 -0
- data/lib/fire/runner.rb +76 -0
- data/lib/fire/session.rb +268 -0
- data/lib/fire/shellutils.rb +77 -0
- data/lib/fire/state.rb +91 -0
- data/lib/fire/system.rb +244 -0
- data/lib/fire/task.rb +71 -0
- data/man/fire.1 +47 -0
- data/man/fire.1.html +130 -0
- data/man/fire.1.ronn +52 -0
- metadata +135 -0
data/man/fire.1
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "OU" "1" "April 2012" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBou\fR \- Ruby rules\-based automated build tool
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBou\fR \fBou\fR \fItask\fR [\fIarg\fR\.\.\.]
|
11
|
+
.
|
12
|
+
.br
|
13
|
+
\fBou\fR \fB\-T\fR|\fB\-\-tasks\fR
|
14
|
+
.
|
15
|
+
.br
|
16
|
+
\fBou\fR \fB\-h\fR|\fB\-\-help\fR
|
17
|
+
.
|
18
|
+
.br
|
19
|
+
.
|
20
|
+
.SH "DESCRIPTION"
|
21
|
+
\fBOusama\fR is a state\-based rules\-engine powered build tool\. The developer only ever needs to run a single command \fBou\fR, and the project built process kicks off and all details of project management are handled
|
22
|
+
.
|
23
|
+
.P
|
24
|
+
Of course sometimes a developer only wants to preform a narrow and singular task\. Ousama has a task system built\-in as well that largely emulates the Rake build tool\.
|
25
|
+
.
|
26
|
+
.SH "OPTIONS"
|
27
|
+
These options act as subcommands:
|
28
|
+
.
|
29
|
+
.TP
|
30
|
+
\fB\-T\fR, \fB\-\-tasks\fR
|
31
|
+
Display the runnable tasks defined in the project\'s ou files\.
|
32
|
+
.
|
33
|
+
.TP
|
34
|
+
\fB\-h\fR, \fB\-\-help\fR
|
35
|
+
Display this help message\.
|
36
|
+
.
|
37
|
+
.SH "ISSUES"
|
38
|
+
\fBOusama\fR depends on \fBRonn\fR to provide this man\-page and command help message\. Ronn depends on hpricot and rdiscount, extension libraries that are non\-trivial to install on some systems\. A more portable version of this program would be welcome\.
|
39
|
+
.
|
40
|
+
.SH "COPYRIGHT"
|
41
|
+
Ousama is Copyright (c) 2009 Thomas Sawyer, Rubyworks
|
42
|
+
.
|
43
|
+
.P
|
44
|
+
Ousama is distributed in accordance to the \fBGPL\-3\fR license\.
|
45
|
+
.
|
46
|
+
.SH "SEE ALSO"
|
47
|
+
ronn(1), rake(1)
|
data/man/fire.1.html
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
+
<title>ou(1) - Ruby rules-based automated build tool</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#OPTIONS">OPTIONS</a>
|
60
|
+
<a href="#ISSUES">ISSUES</a>
|
61
|
+
<a href="#COPYRIGHT">COPYRIGHT</a>
|
62
|
+
<a href="#SEE-ALSO">SEE ALSO</a>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
<ol class='man-decor man-head man head'>
|
66
|
+
<li class='tl'>ou(1)</li>
|
67
|
+
<li class='tc'></li>
|
68
|
+
<li class='tr'>ou(1)</li>
|
69
|
+
</ol>
|
70
|
+
|
71
|
+
<h2 id="NAME">NAME</h2>
|
72
|
+
<p class="man-name">
|
73
|
+
<code>ou</code> - <span class="man-whatis">Ruby rules-based automated build tool</span>
|
74
|
+
</p>
|
75
|
+
|
76
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
77
|
+
|
78
|
+
<p><code>ou</code>
|
79
|
+
<code>ou</code> <var>task</var> [<var>arg</var>...]<br />
|
80
|
+
<code>ou</code> <code>-T</code>|<code>--tasks</code><br />
|
81
|
+
<code>ou</code> <code>-h</code>|<code>--help</code><br /></p>
|
82
|
+
|
83
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
84
|
+
|
85
|
+
<p><strong>Ousama</strong> is a state-based rules-engine powered build tool.
|
86
|
+
The developer only ever needs to run a single command <code>ou</code>,
|
87
|
+
and the project built process kicks off and all details
|
88
|
+
of project management are handled</p>
|
89
|
+
|
90
|
+
<p>Of course sometimes a developer only wants to preform a narrow
|
91
|
+
and singular task. Ousama has a task system built-in as well that
|
92
|
+
largely emulates the Rake build tool.</p>
|
93
|
+
|
94
|
+
<h2 id="OPTIONS">OPTIONS</h2>
|
95
|
+
|
96
|
+
<p>These options act as subcommands:</p>
|
97
|
+
|
98
|
+
<dl>
|
99
|
+
<dt><code>-T</code>, <code>--tasks</code></dt><dd><p>Display the runnable tasks defined in the project's ou files.</p></dd>
|
100
|
+
<dt><code>-h</code>, <code>--help</code></dt><dd><p>Display this help message.</p></dd>
|
101
|
+
</dl>
|
102
|
+
|
103
|
+
|
104
|
+
<h2 id="ISSUES">ISSUES</h2>
|
105
|
+
|
106
|
+
<p><strong>Ousama</strong> depends on <strong>Ronn</strong> to provide this man-page and command help message.
|
107
|
+
Ronn depends on hpricot and rdiscount, extension libraries that are non-trivial
|
108
|
+
to install on some systems. A more portable version of this program would be
|
109
|
+
welcome.</p>
|
110
|
+
|
111
|
+
<h2 id="COPYRIGHT">COPYRIGHT</h2>
|
112
|
+
|
113
|
+
<p>Ousama is Copyright (c) 2009 Thomas Sawyer, Rubyworks</p>
|
114
|
+
|
115
|
+
<p>Ousama is distributed in accordance to the <strong>GPL-3</strong> license.</p>
|
116
|
+
|
117
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
118
|
+
|
119
|
+
<p><span class="man-ref">ronn<span class="s">(1)</span></span>, <span class="man-ref">rake<span class="s">(1)</span></span></p>
|
120
|
+
|
121
|
+
|
122
|
+
<ol class='man-decor man-foot man foot'>
|
123
|
+
<li class='tl'></li>
|
124
|
+
<li class='tc'>April 2012</li>
|
125
|
+
<li class='tr'>ou(1)</li>
|
126
|
+
</ol>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
</body>
|
130
|
+
</html>
|
data/man/fire.1.ronn
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
ou(1) -- Ruby rules-based automated build tool
|
2
|
+
==============================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`ou`
|
7
|
+
`ou` <task> [<arg>...]<br>
|
8
|
+
`ou` `-T`|`--tasks`<br>
|
9
|
+
`ou` `-h`|`--help`<br>
|
10
|
+
|
11
|
+
|
12
|
+
## DESCRIPTION
|
13
|
+
|
14
|
+
**Ousama** is a state-based rules-engine powered build tool.
|
15
|
+
The developer only ever needs to run a single command `ou`,
|
16
|
+
and the project built process kicks off and all details
|
17
|
+
of project management are handled
|
18
|
+
|
19
|
+
Of course sometimes a developer only wants to preform a narrow
|
20
|
+
and singular task. Ousama has a task system built-in as well that
|
21
|
+
largely emulates the Rake build tool.
|
22
|
+
|
23
|
+
|
24
|
+
## OPTIONS
|
25
|
+
|
26
|
+
These options act as subcommands:
|
27
|
+
|
28
|
+
* `-T`, `--tasks`:
|
29
|
+
Display the runnable tasks defined in the project's ou files.
|
30
|
+
|
31
|
+
* `-h`, `--help`:
|
32
|
+
Display this help message.
|
33
|
+
|
34
|
+
|
35
|
+
## ISSUES
|
36
|
+
|
37
|
+
**Ousama** depends on **Ronn** to provide this man-page and command help message.
|
38
|
+
Ronn depends on hpricot and rdiscount, extension libraries that are non-trivial
|
39
|
+
to install on some systems. A more portable version of this program would be
|
40
|
+
welcome.
|
41
|
+
|
42
|
+
|
43
|
+
## COPYRIGHT
|
44
|
+
|
45
|
+
Ousama is Copyright (c) 2009 Thomas Sawyer, Rubyworks
|
46
|
+
|
47
|
+
Ousama is distributed in accordance to the **GPL-3** license.
|
48
|
+
|
49
|
+
|
50
|
+
## SEE ALSO
|
51
|
+
|
52
|
+
ronn(1), rake(1)
|
metadata
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fire
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Trans
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: notify
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: detroit
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: mast
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: ! "Fire is a continuous integration build tool with a slick set logic
|
63
|
+
\nstate/rules system."
|
64
|
+
email:
|
65
|
+
- transfire@gmail.com
|
66
|
+
executables:
|
67
|
+
- fire
|
68
|
+
- autofire
|
69
|
+
extensions: []
|
70
|
+
extra_rdoc_files:
|
71
|
+
- LICENSE.txt
|
72
|
+
- HISTORY.md
|
73
|
+
- README.md
|
74
|
+
files:
|
75
|
+
- .index
|
76
|
+
- .yardopts
|
77
|
+
- bin/autofire
|
78
|
+
- bin/fire
|
79
|
+
- demo/03_runner/01_applying_rules.md
|
80
|
+
- demo/03_runner/02_resolve_prerequisites.md
|
81
|
+
- demo/applique/ae.rb
|
82
|
+
- demo/applique/fire.rb
|
83
|
+
- demo/applique/rules.rb
|
84
|
+
- demo/overview.md
|
85
|
+
- lib/fire/cli.rb
|
86
|
+
- lib/fire/core_ext/boolean.rb
|
87
|
+
- lib/fire/core_ext/cli.rb
|
88
|
+
- lib/fire/core_ext/true_class.rb
|
89
|
+
- lib/fire/core_ext.rb
|
90
|
+
- lib/fire/digest.rb
|
91
|
+
- lib/fire/dsl.rb
|
92
|
+
- lib/fire/match.rb
|
93
|
+
- lib/fire/rule.rb
|
94
|
+
- lib/fire/rulefile.rb
|
95
|
+
- lib/fire/runner.rb
|
96
|
+
- lib/fire/session.rb
|
97
|
+
- lib/fire/shellutils.rb
|
98
|
+
- lib/fire/state.rb
|
99
|
+
- lib/fire/system.rb
|
100
|
+
- lib/fire/task.rb
|
101
|
+
- lib/fire.rb
|
102
|
+
- lib/fire.yml
|
103
|
+
- man/fire.1
|
104
|
+
- man/fire.1.html
|
105
|
+
- man/fire.1.ronn
|
106
|
+
- HISTORY.md
|
107
|
+
- README.md
|
108
|
+
- LICENSE.txt
|
109
|
+
homepage: http://rubyworks.github.com/fire
|
110
|
+
licenses:
|
111
|
+
- BSD-2-Clause
|
112
|
+
post_install_message:
|
113
|
+
rdoc_options: []
|
114
|
+
require_paths:
|
115
|
+
- lib
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ! '>='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
requirements: []
|
129
|
+
rubyforge_project:
|
130
|
+
rubygems_version: 1.8.24
|
131
|
+
signing_key:
|
132
|
+
specification_version: 3
|
133
|
+
summary: The best build tool, logically!
|
134
|
+
test_files: []
|
135
|
+
has_rdoc:
|