Sha256: 3e45ce1e99b701a5ce70dba6ac601e005fcf1af43020f83ccc8670f626293781

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

module FlashSDK

  class FCSH < Sprout::Daemon

    ##
    # The the Ruby file that will load the expected
    # Sprout::Specification.
    #
    # Default value is 'flex4'
    set :pkg_name, 'flex4'

    ##
    # The default pkg version
    #
    set :pkg_version, ">= #{FlashSDK::VERSION}"

    ##
    # The default executable target.
    #
    set :executable, :fcsh

    ##
    # Set the default prompt that should be presented
    #  on stdout when fcsh is ready for input.
    set :prompt, /^\(fcsh\) /

    ##
    # Clear the saved compilation target
    # from memory.
    #
    # @param id [Integer]
    #
    add_action :clear

    ##
    # Perform compilation using COMPC and the
    # provided arguments.
    #
    # @param options [String]
    #
    add_action :compc

    ##
    # Execute a saved compilation from the provided
    # id number.
    #
    # @param id [Integer]
    #
    add_action :compile

    ##
    # Perform compilation using MXMLC and the
    # provided arguments.
    #
    # @param options [String]
    #
    add_action :mxmlc

    ##
    # Exit FCSH
    add_action :quit
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flashsdk-1.0.14.pre lib/flashsdk/fcsh.rb