Class: FlashSDK::FCSH
- Inherits:
-
Sprout::Executable::Session
- Object
- Sprout::Executable::Session
- FlashSDK::FCSH
- Defined in:
- lib/flashsdk/fcsh.rb
Instance Method Summary collapse
-
#clear ⇒ Object
Clear the saved compilation target from memory.
-
#compc ⇒ Object
Perform compilation using COMPC and the provided arguments.
-
#compile ⇒ Object
Execute a saved compilation from the provided id number.
-
#executable ⇒ Object
The default executable target.
-
#mxmlc ⇒ Object
Perform compilation using MXMLC and the provided arguments.
-
#pkg_name ⇒ Object
The the Ruby file that will load the expected Sprout::Specification.
-
#pkg_version ⇒ Object
The default pkg version.
-
#prompt ⇒ Object
Set the default prompt that should be presented on stdout when fcsh is ready for input.
-
#quit ⇒ Object
Exit FCSH.
- #system_execute(binary, params) ⇒ Object
Instance Method Details
#clear ⇒ Object
Clear the saved compilation target from memory.
34 |
# File 'lib/flashsdk/fcsh.rb', line 34 add_action :clear |
#compc ⇒ Object
Perform compilation using COMPC and the provided arguments.
42 |
# File 'lib/flashsdk/fcsh.rb', line 42 add_action :compc |
#compile ⇒ Object
Execute a saved compilation from the provided id number.
50 |
# File 'lib/flashsdk/fcsh.rb', line 50 add_action :compile |
#executable ⇒ Object
The default executable target.
21 |
# File 'lib/flashsdk/fcsh.rb', line 21 set :executable, :fcsh |
#mxmlc ⇒ Object
Perform compilation using MXMLC and the provided arguments.
58 |
# File 'lib/flashsdk/fcsh.rb', line 58 add_action :mxmlc |
#pkg_name ⇒ Object
The the Ruby file that will load the expected Sprout::Specification.
Default value is ‘flex4’
11 |
# File 'lib/flashsdk/fcsh.rb', line 11 set :pkg_name, 'flex4' |
#pkg_version ⇒ Object
The default pkg version
16 |
# File 'lib/flashsdk/fcsh.rb', line 16 set :pkg_version, ">= #{FlashSDK::VERSION}" |
#prompt ⇒ Object
Set the default prompt that should be presented
on stdout when fcsh is ready for input.
26 |
# File 'lib/flashsdk/fcsh.rb', line 26 set :prompt, /^\(fcsh\) / |
#quit ⇒ Object
Exit FCSH
62 |
# File 'lib/flashsdk/fcsh.rb', line 62 add_action :quit |
#system_execute(binary, params) ⇒ Object
65 66 67 68 69 70 71 72 |
# File 'lib/flashsdk/fcsh.rb', line 65 def system_execute binary, params params ||= '' ## # Combine stdout and stderr for FCSH # so that they both arrive on stdout params << ' 2<&1' super binary, params end |