Rakefile in fast_excel-0.1.4 vs Rakefile in fast_excel-0.1.5

- old
+ new

@@ -22,6 +22,16 @@ system("docker run -t fast_excel_alpine readelf -d lib/libxlsxwriter.so") last_container_id = `docker ps -a | grep fast_excel_alpine | head -1 | awk '{print $1;}'`.strip system("docker cp #{last_container_id}:/srv/libxlsxwriter/lib/libxlsxwriter.so ./binaries/libxlsxwriter-alpine.so") system("docker rm #{last_container_id}") end +end + +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 \ No newline at end of file