detroit-extconf 0.1.0 → 0.2.0
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/.ruby +13 -9
- data/{GPL3.txt → LICENSE.txt} +0 -0
- data/README.rdoc +7 -2
- data/lib/detroit-extconf.rb +15 -4
- data/man/detroit-extconf.5 +60 -0
- data/man/detroit-extconf.5.html +135 -0
- data/man/detroit-extconf.5.ronn +52 -0
- metadata +13 -9
data/.ruby
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
---
|
2
|
+
source:
|
3
|
+
- meta
|
2
4
|
authors:
|
3
5
|
- name: T. Sawyer
|
4
6
|
email: transfire@gmail.com
|
@@ -6,26 +8,28 @@ copyrights:
|
|
6
8
|
- holder: Thomas Sawyer
|
7
9
|
year: '2011'
|
8
10
|
license: GPL3
|
9
|
-
replacements: []
|
10
|
-
conflicts: []
|
11
11
|
requirements:
|
12
12
|
- name: detroit
|
13
|
+
version: 0.3.0+
|
13
14
|
dependencies: []
|
15
|
+
alternatives: []
|
16
|
+
conflicts: []
|
14
17
|
repositories: []
|
15
18
|
resources:
|
16
19
|
home: http://detroit.github.com/
|
17
20
|
code: http://github.com/detroit/detroit-extconf
|
18
21
|
mail: http://groups.google.com/group/rubyworks-mailinglist
|
22
|
+
extra: {}
|
19
23
|
load_path:
|
20
24
|
- lib
|
21
|
-
extra: {}
|
22
25
|
revision: 0
|
23
|
-
|
24
|
-
source: []
|
25
|
-
alternatives: []
|
26
|
-
title: Detroit ExtConf
|
27
|
-
version: 0.1.0
|
26
|
+
created: '2011-10-16'
|
28
27
|
summary: ExtConf plugin for Detroit
|
28
|
+
title: Detroit ExtConf
|
29
|
+
version: 0.2.0
|
30
|
+
name: detroit-extconf
|
31
|
+
suite: detroit
|
29
32
|
description: ExtConf plugin for Detroit build system. The plugin compiles Ruby C extensions
|
30
33
|
during the compile phase.
|
31
|
-
|
34
|
+
organization: rubyworks
|
35
|
+
date: '2012-04-01'
|
data/{GPL3.txt → LICENSE.txt}
RENAMED
File without changes
|
data/README.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= Detroit ExtConf Tool
|
2
2
|
|
3
|
+
{Website}[http://rubyworks.github.com/detroit-extconf] /
|
4
|
+
{Report Issue}[http://github.com/rubyworks/detroit-extconf/issues] /
|
5
|
+
{Repository}[http://github.com/rubyworks/detroit-extconf]
|
6
|
+
|
3
7
|
|
4
8
|
== DESCRIPTION
|
5
9
|
|
@@ -18,7 +22,8 @@ NOTE: By neccessity this tool shells out to the command line.
|
|
18
22
|
|
19
23
|
Copyright (c) 2011 Thomas Sawyer
|
20
24
|
|
21
|
-
|
25
|
+
Detroit ExtConf is distributable under the GNU General Public License version 3
|
26
|
+
or greater (GPL-3.0+).
|
22
27
|
|
23
|
-
See COPYING.rdoc and
|
28
|
+
See COPYING.rdoc and LICENSE.txt file for details.
|
24
29
|
|
data/lib/detroit-extconf.rb
CHANGED
@@ -29,11 +29,22 @@ module Detroit
|
|
29
29
|
attr_accessor :static
|
30
30
|
|
31
31
|
|
32
|
-
# A S S E M B L Y
|
32
|
+
# A S S E M B L Y
|
33
33
|
|
34
|
-
def
|
35
|
-
|
36
|
-
|
34
|
+
def assemble?(station, options={})
|
35
|
+
case station
|
36
|
+
when :compile, :clean, :purge
|
37
|
+
compiles?
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def assemble(station, options={})
|
42
|
+
case station
|
43
|
+
when :compile then compile
|
44
|
+
when :clean then clean
|
45
|
+
when :purge then purge
|
46
|
+
end
|
47
|
+
end
|
37
48
|
|
38
49
|
|
39
50
|
# S E R V I C E M E T H O D S
|
@@ -0,0 +1,60 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "DETROIT\-EXTCONF" "5" "October 2011" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBdetroit\-extconf\fR \- compile ruby extensions
|
8
|
+
.
|
9
|
+
.SH "DESCRIPTION"
|
10
|
+
The ExtConf tool utilizes \fBextconf\.rb\fR script and Autotools standard \fBMakefile\fR to compile native extensions\.
|
11
|
+
.
|
12
|
+
.P
|
13
|
+
By necessity this tool shells out to the command line\. On Windows system this plug\-in uses \fBnmake\fR rather than \fBmake\fR\.
|
14
|
+
.
|
15
|
+
.P
|
16
|
+
Please note this is a very basic extension compiler plug\-in\. It could use some effort made to improve it, or be supplanted by a more capable plug\-in, such as one based on rake\-compiler\.
|
17
|
+
.
|
18
|
+
.P
|
19
|
+
All extensions must be located within the project \fBext/\fR directory\.
|
20
|
+
.
|
21
|
+
.SH "OPTIONS"
|
22
|
+
.
|
23
|
+
.IP "\(bu" 4
|
24
|
+
\fBstatic\fR \- Compile statically\. This applies only to compile phase and defaults to \fBfalse\fR\.
|
25
|
+
.
|
26
|
+
.IP "" 0
|
27
|
+
.
|
28
|
+
.SH "EXAMPLES"
|
29
|
+
Since there are so few options, the typical usage is simply:
|
30
|
+
.
|
31
|
+
.IP "" 4
|
32
|
+
.
|
33
|
+
.nf
|
34
|
+
|
35
|
+
extconf:
|
36
|
+
static: false
|
37
|
+
.
|
38
|
+
.fi
|
39
|
+
.
|
40
|
+
.IP "" 0
|
41
|
+
.
|
42
|
+
.SH "RESOURCES"
|
43
|
+
For more information:
|
44
|
+
.
|
45
|
+
.IP "\(bu" 4
|
46
|
+
API Documentation \fIhttp://rubydoc\.info/gems/detroit\-extconf\fR
|
47
|
+
.
|
48
|
+
.IP "\(bu" 4
|
49
|
+
Development Site \fIhttp://github\.com/detroit/detroit\-extconf\fR
|
50
|
+
.
|
51
|
+
.IP "" 0
|
52
|
+
.
|
53
|
+
.SH "COPYRIGHT"
|
54
|
+
Copyright (c) 2010 Thomas Sawyer, Rubyworks
|
55
|
+
.
|
56
|
+
.P
|
57
|
+
Detroit ExtConf is distributable in accordance with the GPLv3 license\.
|
58
|
+
.
|
59
|
+
.SH "SEE ALSO"
|
60
|
+
dnote(1)
|
@@ -0,0 +1,135 @@
|
|
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>detroit-extconf(5) - compile ruby extensions</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="#DESCRIPTION">DESCRIPTION</a>
|
58
|
+
<a href="#OPTIONS">OPTIONS</a>
|
59
|
+
<a href="#EXAMPLES">EXAMPLES</a>
|
60
|
+
<a href="#RESOURCES">RESOURCES</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'>detroit-extconf(5)</li>
|
67
|
+
<li class='tc'></li>
|
68
|
+
<li class='tr'>detroit-extconf(5)</li>
|
69
|
+
</ol>
|
70
|
+
|
71
|
+
<h2 id="NAME">NAME</h2>
|
72
|
+
<p class="man-name">
|
73
|
+
<code>detroit-extconf</code> - <span class="man-whatis">compile ruby extensions</span>
|
74
|
+
</p>
|
75
|
+
|
76
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
77
|
+
|
78
|
+
<p>The ExtConf tool utilizes <code>extconf.rb</code> script and Autotools standard
|
79
|
+
<code>Makefile</code> to compile native extensions.</p>
|
80
|
+
|
81
|
+
<p>By necessity this tool shells out to the command line. On Windows
|
82
|
+
system this plug-in uses <code>nmake</code> rather than <code>make</code>.</p>
|
83
|
+
|
84
|
+
<p>Please note this is a very basic extension compiler plug-in. It could
|
85
|
+
use some effort made to improve it, or be supplanted by a more capable
|
86
|
+
plug-in, such as one based on rake-compiler.</p>
|
87
|
+
|
88
|
+
<p>All extensions must be located within the project <code>ext/</code> directory.</p>
|
89
|
+
|
90
|
+
<h2 id="OPTIONS">OPTIONS</h2>
|
91
|
+
|
92
|
+
<ul>
|
93
|
+
<li><code>static</code> - Compile statically. This applies only to compile phase
|
94
|
+
and defaults to <code>false</code>.</li>
|
95
|
+
</ul>
|
96
|
+
|
97
|
+
|
98
|
+
<h2 id="EXAMPLES">EXAMPLES</h2>
|
99
|
+
|
100
|
+
<p>Since there are so few options, the typical usage is simply:</p>
|
101
|
+
|
102
|
+
<pre><code>extconf:
|
103
|
+
static: false
|
104
|
+
</code></pre>
|
105
|
+
|
106
|
+
<h2 id="RESOURCES">RESOURCES</h2>
|
107
|
+
|
108
|
+
<p>For more information:</p>
|
109
|
+
|
110
|
+
<ul>
|
111
|
+
<li><p><a href="http://rubydoc.info/gems/detroit-extconf">API Documentation</a></p></li>
|
112
|
+
<li><p><a href="http://github.com/detroit/detroit-extconf">Development Site</a></p></li>
|
113
|
+
</ul>
|
114
|
+
|
115
|
+
|
116
|
+
<h2 id="COPYRIGHT">COPYRIGHT</h2>
|
117
|
+
|
118
|
+
<p>Copyright (c) 2010 Thomas Sawyer, Rubyworks</p>
|
119
|
+
|
120
|
+
<p>Detroit ExtConf is distributable in accordance with the GPLv3 license.</p>
|
121
|
+
|
122
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
123
|
+
|
124
|
+
<p><span class="man-ref">dnote<span class="s">(1)</span></span></p>
|
125
|
+
|
126
|
+
|
127
|
+
<ol class='man-decor man-foot man foot'>
|
128
|
+
<li class='tl'></li>
|
129
|
+
<li class='tc'>October 2011</li>
|
130
|
+
<li class='tr'>detroit-extconf(5)</li>
|
131
|
+
</ol>
|
132
|
+
|
133
|
+
</div>
|
134
|
+
</body>
|
135
|
+
</html>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
detroit-extconf(5) - compile ruby extensions
|
2
|
+
============================================
|
3
|
+
|
4
|
+
## DESCRIPTION
|
5
|
+
|
6
|
+
The ExtConf tool utilizes `extconf.rb` script and Autotools standard
|
7
|
+
`Makefile` to compile native extensions.
|
8
|
+
|
9
|
+
By necessity this tool shells out to the command line. On Windows
|
10
|
+
system this plug-in uses `nmake` rather than `make`.
|
11
|
+
|
12
|
+
Please note this is a very basic extension compiler plug-in. It could
|
13
|
+
use some effort made to improve it, or be supplanted by a more capable
|
14
|
+
plug-in, such as one based on rake-compiler.
|
15
|
+
|
16
|
+
All extensions must be located within the project `ext/` directory.
|
17
|
+
|
18
|
+
|
19
|
+
## OPTIONS
|
20
|
+
|
21
|
+
* `static` - Compile statically. This applies only to compile phase
|
22
|
+
and defaults to `false`.
|
23
|
+
|
24
|
+
|
25
|
+
## EXAMPLES
|
26
|
+
|
27
|
+
Since there are so few options, the typical usage is simply:
|
28
|
+
|
29
|
+
extconf:
|
30
|
+
static: false
|
31
|
+
|
32
|
+
|
33
|
+
## RESOURCES
|
34
|
+
|
35
|
+
For more information:
|
36
|
+
|
37
|
+
* [API Documentation](http://rubydoc.info/gems/detroit-extconf)
|
38
|
+
|
39
|
+
* [Development Site](http://github.com/detroit/detroit-extconf)
|
40
|
+
|
41
|
+
|
42
|
+
## COPYRIGHT
|
43
|
+
|
44
|
+
Copyright (c) 2010 Thomas Sawyer, Rubyworks
|
45
|
+
|
46
|
+
Detroit ExtConf is distributable in accordance with the GPLv3 license.
|
47
|
+
|
48
|
+
|
49
|
+
## SEE ALSO
|
50
|
+
|
51
|
+
detroit(1)
|
52
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: detroit-extconf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: detroit
|
16
|
-
requirement: &
|
16
|
+
requirement: &28398320 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *28398320
|
25
25
|
description: ExtConf plugin for Detroit build system. The plugin compiles Ruby C extensions
|
26
26
|
during the compile phase.
|
27
27
|
email:
|
@@ -29,17 +29,21 @@ email:
|
|
29
29
|
executables: []
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files:
|
32
|
-
-
|
32
|
+
- LICENSE.txt
|
33
33
|
- README.rdoc
|
34
34
|
- COPYING.rdoc
|
35
35
|
files:
|
36
36
|
- .ruby
|
37
37
|
- lib/detroit-extconf.rb
|
38
|
+
- man/detroit-extconf.5
|
39
|
+
- man/detroit-extconf.5.html
|
40
|
+
- man/detroit-extconf.5.ronn
|
41
|
+
- LICENSE.txt
|
38
42
|
- README.rdoc
|
39
|
-
- GPL3.txt
|
40
43
|
- COPYING.rdoc
|
41
44
|
homepage: http://detroit.github.com/
|
42
|
-
licenses:
|
45
|
+
licenses:
|
46
|
+
- GPL3
|
43
47
|
post_install_message:
|
44
48
|
rdoc_options: []
|
45
49
|
require_paths:
|
@@ -58,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
62
|
version: '0'
|
59
63
|
requirements: []
|
60
64
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.8.
|
65
|
+
rubygems_version: 1.8.11
|
62
66
|
signing_key:
|
63
67
|
specification_version: 3
|
64
68
|
summary: ExtConf plugin for Detroit
|