Remove old Rakefile dist targets
Because binaries no longer go into the repo.
This commit is contained in:
1 parent
bf271b8062
commit
9a51696bc0
1 file changed
-31
@@ -36,7 +36,6 @@ end
|
|||||||
|
|
||||||
Liquid::Template.register_filter(ExtraFilters)
|
Liquid::Template.register_filter(ExtraFilters)
|
||||||
|
|
||||||
|
|
||||||
task :serve do
|
task :serve do
|
||||||
begin
|
begin
|
||||||
Bonsai.log "Press Control+C to quit"
|
Bonsai.log "Press Control+C to quit"
|
||||||
@@ -72,28 +71,6 @@ task :build do
|
|||||||
Bonsai::Exporter.publish!
|
Bonsai::Exporter.publish!
|
||||||
end
|
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
|
def load_manual
|
||||||
YAML::load(File.open("content/3.manual/manual.yml"))
|
YAML::load(File.open("content/3.manual/manual.yml"))
|
||||||
end
|
end
|
||||||
@@ -139,11 +116,3 @@ task :mantests do
|
|||||||
end
|
end
|
||||||
end
|
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]
|
|
||||||
Reference in new issue
Block a user