Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Masao Mutoh
committed
Aug 27, 2003
1 parent
78d2bf9
commit 7fed658
Showing
4 changed files
with
130 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
=begin | ||
exec_make.rb is called by top-level Makefile. | ||
$Id: exec_make.rb,v 1.1 2003/08/27 17:28:04 mutoh Exp $ | ||
Copyright (C) 2003 Ruby-GNOME2 Project Team | ||
=end | ||
|
||
SUBDIRS = ARGV[0].split(" ") | ||
EXECUTE = ARGV[1..-1].join(' ') | ||
|
||
success = [] | ||
failure = [] | ||
SUBDIRS.each do |subdir| | ||
ret = system("(cd #{subdir} && #{EXECUTE})") | ||
if ret | ||
success << subdir | ||
else | ||
failure << subdir | ||
end | ||
end | ||
|
||
success << "NONE" if success.size == 0 | ||
failure << "NONE" if failure.size == 0 | ||
|
||
puts "\n" | ||
puts "-----" | ||
puts "SUCCEEDED: #{success.join(' ')}" if success.size > 0 | ||
puts "FAILED: #{failure.join(' ')}" if failure.size > 0 | ||
puts "-----" | ||
puts "Done." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters