diff options
author | Florian Frank <flori@ping.de> | 2011-09-12 20:17:12 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-09-13 00:48:21 +0200 |
commit | f729d47aefc98623677142de62f6211feeacb116 (patch) | |
tree | 777a045e3ec72d9dffe335176e9d1eae3cf5aa48 /install.rb | |
parent | ee3268deb262ddccaa5763c256a86b5832fef377 (diff) | |
download | json-f729d47aefc98623677142de62f6211feeacb116.tar.gz |
Extract utils out of this library into json-utilsv1.6.0
Diffstat (limited to 'install.rb')
-rwxr-xr-x | install.rb | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -6,21 +6,14 @@ include FileUtils::Verbose include Config -bindir = CONFIG["bindir"] -cd 'bin' do - filename = 'edit_json.rb' - #install(filename, bindir) -end sitelibdir = CONFIG["sitelibdir"] cd 'lib' do install('json.rb', sitelibdir) mkdir_p File.join(sitelibdir, 'json') - for file in Dir['json/**/*.{rb,xpm}'] + for file in Dir['json/**/*}'] d = File.join(sitelibdir, file) mkdir_p File.dirname(d) install(file, d) end - install(File.join('json', 'editor.rb'), File.join(sitelibdir,'json')) - install(File.join('json', 'json.xpm'), File.join(sitelibdir,'json')) end warn " *** Installed PURE ruby library." |