Sha256: 43fda2e22b7f0df1ef6241e6d461139d6b89c7a06dff9bad8284863b71d798f4

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

#! /usr/bin/env ruby
#
# Trema build script
#
# Copyright (C) 2008-2013 NEC Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

require "rbconfig"

RUBY_PATH = File.join(
              RbConfig::CONFIG[ 'bindir' ],
              RbConfig::CONFIG[ 'RUBY_INSTALL_NAME' ] +
              RbConfig::CONFIG[ 'EXEEXT' ]
            )

result = system "cd #{ File.dirname( __FILE__ ) } && #{ RUBY_PATH } .mono.rant #{ ARGV.join ' ' }"
abort "#{ $0 } aborted!" unless result


### Local variables:
### mode: Ruby
### coding: utf-8
### indent-tabs-mode: nil
### End:

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trema-0.3.21 build.rb
trema-0.3.20 build.rb
trema-0.3.19 build.rb
trema-0.3.18 build.rb
trema-0.3.17 build.rb
trema-0.3.16 build.rb
trema-0.3.15 build.rb