diff options
author | David Tolnay <dtolnay@gmail.com> | 2015-10-12 10:03:15 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2015-10-12 10:03:18 -0700 |
commit | 9a51696bc0fc7be096189827b7edc7e0e2c26582 (patch) | |
tree | ab86a47e4ed3bd0ee5f4a9a4a8fee0e0221405ee /docs | |
parent | bf271b8062c370562f11ab2067eeab8b864aac44 (diff) |
Remove old Rakefile dist targets
Because binaries no longer go into the repo.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Rakefile | 31 |
1 files changed, 0 insertions, 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] |