#!/usr/bin/ruby # # Ruby script to build the P4Ruby distribution. # def make_p4ruby( maker ) version = maker.get_version() build_dir = "p4ruby-" + version tarball = 'p4ruby.tar' maker.cleanup( build_dir ) maker.populate( build_dir ) maker.build_tarball( tarball, build_dir ) maker.cleanup( build_dir ) maker.cleanup( "RELNOTES.txt" ) end if RUBY_VERSION < "1.9" require "make1.8" maker = P4Ruby18.new make_p4ruby( maker ) else $:.unshift( "." ) require "make1.9" maker = P4Ruby19.new make_p4ruby( maker ) end
2014.2.0.pre1 Reorganization to support ruby Gem builds.
The gem may not be immediately available since the rubygems.org credentials seem
to be lost due to a hardware failure. In the meantime, this source should be
testable against Linux and OS X.
Precompiled builds will not be made available until Windows can be supported,
which requires MinGW-w64 builds. (Note: this is a *fork* of MinGW, and not the
same project, our MinGW builds are incompatible.) Once available it should be
relatively straightfoward to use the rake-compile system to create crosscompiled
builds for Windows, OS X, and Linux on the same build machine.
Most tasks should be completed via rake in the future. There may be remnants of
the old build system in here, no longer in use.
Imported from Git
Author: Tristan Juricek <email@example.com> 1415835954 -0800
Committer: Tristan Juricek <firstname.lastname@example.org> 1415836357 -0800
Remove extra print statements
Follow-on to change 333292, where I accidently left
some debug statements in 'makedist'. This change
removes them and should clean up the output.
Rewrite 'makedist' to support Ruby 1.9
When building P4Ruby with 'jam', 'makedist' will fail because it
contains 1.8 specific modules and methods. This change separates
this out, moving non-version specific methods to the module
P4RubyCommon (makemodule.rb). Version specific stuff has been moved
to two separate classes; P4Ruby18 (make1.8.rb) and P4Ruby19
(make1.9.rb). 'makedist' now checks RUBY_VERSION and creates an
instance of the appropriate class depending on the version of Ruby
|#6||14588||noahf||(get_version): Replace spaces in supplemental RELEASE parameters with `.'.|
Standardize p4ruby tarball directory to:
Where tag might be beta, main, etc.
Build change not documented anywhere.
Pull latest changes from p09.2 branch back home to main
Pull 2007.3 p4-ruby changes back to main.
Integration only change
Update MANIFEST and makedist to build tarball using new Version
Add P4Ruby 1.5944 to main as start-point for the first
productized release of P4Ruby