fcshd 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
- die "must set $FLEX_HOME to use --halo option" if not FlexHome.known?
71
- $extra_arguments << "-theme=#{FlexHome.halo_swc}"
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"
@@ -33,6 +33,10 @@ module FCSHD
33
33
  self["bin/fcsh"]
34
34
  end
35
35
 
36
+ def libs
37
+ self["frameworks/libs"]
38
+ end
39
+
36
40
  def halo_swc
37
41
  self["frameworks/themes/Halo/halo.swc"]
38
42
  end
@@ -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} undeclared
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
@@ -1,5 +1,5 @@
1
1
  unless defined? FCSHD::VERSION
2
2
  module FCSHD
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcshd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Brockman