summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2015-09-02 01:24:35 -0800
committerRyan Davis <ryand@zenspider.com>2015-09-02 01:24:35 -0800
commit7b60bea142c58cfab02a5a5fa2a06c9346692681 (patch)
tree6c0db51a8119ca0ce4a1c541898df9e5b72879f1 /bin
parent0c118366f42dbfaa42da351b4589189bb4718ed8 (diff)
downloadhoe-7b60bea142c58cfab02a5a5fa2a06c9346692681.tar.gz
+ Added so_name variable to bin/sow for using hoe w/ c-extensions.
+ Default config now excludes tmp, .git, and .bundle. + Extended :compiler plugin to define #extension for hoe spec decls. + Failures to detect/load rake-compiler are handled gracefully. + Removed generation of synthesized .gemtest file. Dead. [git-p4: depot-paths = "//src/hoe/dev/": change = 10367]
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sow2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sow b/bin/sow
index a12cb4d..30b03b1 100755
--- a/bin/sow
+++ b/bin/sow
@@ -91,9 +91,11 @@ abort "Project #{project} seems to exist" if File.directory? project
_, file_name, klass, test_klass = Hoe.normalize_names project
ext_name = File.basename file_name # minitest/plugin => plugin
+so_name = RbConfig::CONFIG["DLEXT"]
klass = klass # quell unused warnings if they're not used in templates
test_klass = test_klass # ditto
+so_name = so_name # ditto
FileUtils.cp_r template_path, project