From 9a51696bc0fc7be096189827b7edc7e0e2c26582 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 12 Oct 2015 10:03:15 -0700 Subject: [PATCH] Remove old Rakefile dist targets Because binaries no longer go into the repo. --- docs/Rakefile | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/docs/Rakefile b/docs/Rakefile index 691a499a..922fe5d1 100644 --- a/docs/Rakefile +++ b/docs/Rakefile @@ -36,7 +36,6 @@ end Liquid::Template.register_filter(ExtraFilters) - task :serve do begin Bonsai.log "Press Control+C to quit" @@ -72,28 +71,6 @@ task :build do Bonsai::Exporter.publish! end -$BINARIES = { - :osx32 => "--host=i686-apple-darwin10 CFLAGS='-m32 -g -O'", - :osx64 => "--host=i686-apple-darwin10 CFLAGS='-m64 -g -O'", - :win32 => "--host=i686-w64-mingw32 CFLAGS='-g -O'", - :win64 => "--host=x86_64-w64-mingw32 CFLAGS='-g -O'", - :linux32 => "--host=x86_64-linux-gnu CFLAGS='-m32 -g -O'", - :linux64 => "--host=x86_64-linux-gnu CFLAGS='-m64 -g -O'" -} - -$BINARIES.each do |name, args| - file "../build/#{name}" do |t| - sh "../scripts/crosscompile -j4 #{name} #{args}" - end - task :binaries => ["../build/#{name}"] -end - -task :binaries => ["output/download"] do - $BINARIES.each do |name, args| - FileUtils.cp_r "../build/#{name}", "output/download/" - end -end - def load_manual YAML::load(File.open("content/3.manual/manual.yml")) end @@ -139,11 +116,3 @@ task :mantests do end end end - -directory "output/download/source" -task :tarball => ["output/download/source"] do - sh "cd ..; ./configure && make dist && make distclean" - sh "cp ../jq-*.tar.gz output/download/source" -end - -task :dist => [:build, :binaries, :tarball]