Sha256: d4b3c41dcf68bd77298ca2e0fecda357cda63eb712b71683dcc5b63480a2f9e4
Contents?: true
Size: 763 Bytes
Versions: 4
Compression:
Stored size: 763 Bytes
Contents
desc "Sync github.com:Paxa/libxlsxwriter to ./libxlsxwriter" task :sync do require 'fileutils' FileUtils.rm_rf("./libxlsxwriter") system("git clone --depth 10 git@github.com:Paxa/libxlsxwriter.git") Dir.chdir("./libxlsxwriter") do system("git show --pretty='format:%cd %h' --date=iso --quiet > version.txt") FileUtils.rm_rf("./.git") end end require 'rake/testtask' Rake::TestTask.new do |test| test.test_files = Dir.glob('test/**/*_test.rb') end #task :default => :test desc "Run all examples" task :examples do Dir.glob('examples/**/*.rb').each do |file| require './' + file.sub(/\.rb$/, '') end end desc "Compile libxlsxwriter shared library" task :compile do %x{ cd ext/fast_excel ruby ./extconf.rb make } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fast_excel-0.5.0 | Rakefile |
fast_excel-0.4.1 | Rakefile |
fast_excel-0.4.0 | Rakefile |
fast_excel-0.3.0 | Rakefile |