mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
1652 add trickified to default sie generation (#1680)
* Add trickeifed classes.resource to sie generation after cp. * Go through all trickified classes.resource files if available and don't die on any if not found.
This commit is contained in:
parent
209984255e
commit
72e82e1566
@ -24,12 +24,12 @@ close($classes_resource);
|
||||
# Add trickified classes.resource if available
|
||||
foreach my $path ( @trick_python_paths ) {
|
||||
my $trickified_dir = dirname($path);
|
||||
open(my $classes_resource, "<", "$trickified_dir/build/classes.resource")
|
||||
or die "cannot open $trickified_dir/build/classes.resource";
|
||||
while(my $line = <$classes_resource>) {
|
||||
print $S_sie_resource $line;
|
||||
if (open(my $classes_resource, "<", "$trickified_dir/build/classes.resource")) {
|
||||
while(my $line = <$classes_resource>) {
|
||||
print $S_sie_resource $line;
|
||||
}
|
||||
close($classes_resource);
|
||||
}
|
||||
close($classes_resource);
|
||||
}
|
||||
|
||||
open(my $top_level_objects_resource, "<", "build/top_level_objects.resource")
|
||||
|
Loading…
Reference in New Issue
Block a user