fcshd 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/fcshc +9 -2
- data/lib/fcshd/flex-home.rb +4 -0
- data/lib/fcshd/transcript-item.rb +3 -1
- data/lib/fcshd/version.rb +1 -1
- metadata +3 -3
data/bin/fcshc
CHANGED
@@ -67,8 +67,11 @@ EOF
|
|
67
67
|
end
|
68
68
|
|
69
69
|
parser.on("--halo", "Use the Halo theme") do
|
70
|
-
|
71
|
-
|
70
|
+
if FCSHD::FlexHome.known?
|
71
|
+
$extra_arguments << "-theme=#{FCSHD::FlexHome.halo_swc}"
|
72
|
+
else
|
73
|
+
die "must set $FLEX_HOME to use --halo option"
|
74
|
+
end
|
72
75
|
end
|
73
76
|
|
74
77
|
parser.separator ""
|
@@ -127,6 +130,10 @@ if $compiling_swc
|
|
127
130
|
for directory in $directories
|
128
131
|
$fcshd_arguments << "-include-sources+=#{directory}"
|
129
132
|
end
|
133
|
+
|
134
|
+
if FCSHD::FlexHome.known?
|
135
|
+
$extra_arguments << "-external-library-path+=#{FCSHD::FlexHome.libs}"
|
136
|
+
end
|
130
137
|
else
|
131
138
|
case $source_files.size
|
132
139
|
when 0: die "missing main application source file"
|
data/lib/fcshd/flex-home.rb
CHANGED
@@ -60,10 +60,12 @@ EOF
|
|
60
60
|
/^Call to a possibly undefined method (.+)\.$/,
|
61
61
|
/^Access of undefined property (.+)\.$/,
|
62
62
|
/^The definition of base class (.+) was not found\.$/,
|
63
|
+
/^Unable to locate specified base class '(.+)' for component class '.*'\.$/,
|
64
|
+
/^Interface (.+) was not found\.$/,
|
63
65
|
/^Type was not found or was not a compile-time constant: (.+)\.$/
|
64
66
|
then
|
65
67
|
[<<EOF].tap do |result|
|
66
|
-
error: #{quote $1}
|
68
|
+
error: #{quote $1} undefined
|
67
69
|
EOF
|
68
70
|
FlexHome.find_component($1).tap do |package|
|
69
71
|
result << <<EOF if package
|
data/lib/fcshd/version.rb
CHANGED
metadata
CHANGED