[Ironruby-core] Checked in a Rakefile that should work correctly with Linux filesystem
Sanghyeon Seo
sanxiyn at gmail.com
Thu Oct 25 00:44:12 EDT 2007
2007/10/25, John Lam (DLR) <jflam at microsoft.com>:
> Can someone with a Linux box please verify that this works correctly?
:compile task depends on :happy task, which cannot find .exe commands.
The following patch should correct that.
Index: Rakefile
===================================================================
--- Rakefile (revision 48)
+++ Rakefile (working copy)
@@ -597,10 +597,10 @@
puts "***** run the script from within a MERLIN command prompt."
end
- commands = ['resgen.exe', 'csc.exe']
+ commands = ENV['mono'].nil? ? ['resgen.exe', 'csc.exe'] : ['resgen', 'gmcs']
commands += ['tf.exe', 'svn.exe'] if MERLIN_ROOT
- paths = ENV['PATH'].split(';').collect { |path| Pathname.new path }
+ paths = ENV['PATH'].split(File::PATH_SEPARATOR).collect { |path|
Pathname.new path }
failure = false
commands.each do |command|
--
Seo Sanghyeon
More information about the Ironruby-core
mailing list