Sha256: c54a471cb8a3a78e66ed3a75aa5a5899a26c8cc3644da2a1c240ce1802a8fd29

Contents?: true

Size: 1.18 KB

Versions: 11

Compression:

Stored size: 1.18 KB

Contents

module FlashSDK

  class ADL < Sprout::Executable::Base

    add_param :runtime, Path

    add_param :pubid, String

    add_param :nodebug, Boolean

    add_param :profile, String

    add_param :screensize, String

    add_param :app_desc, String, { :hidden_name => true, :delimiter => ' ' }

    add_param :root_dir, String, { :hidden_name => true, :delimiter => ' ' }

    #add_param :shitty_dashes, String, { :hidden_name => true, :delimiter => ' ', :default => '--' }

    add_param :input, File, { :hidden_name => true }

    ##
    # 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, :adl
  end
end

##
# TODO: This should NOT be here!
# This is preventing that method from working
# as expected only after this FILE is required.
class Sprout::System::UnixSystem

    def should_repair_executable path
      return false
      #return (File.exists?(path) && !File.directory?(path) && File.read(path).match(/^\#\!\/bin\/sh/))
    end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
flashsdk-1.0.27.pre lib/flashsdk/adl.rb
flashsdk-1.0.26.pre lib/flashsdk/adl.rb
flashsdk-1.0.25.pre lib/flashsdk/adl.rb
flashsdk-1.0.23.pre lib/flashsdk/adl.rb
flashsdk-1.0.22.pre lib/flashsdk/adl.rb
flashsdk-1.0.21.pre lib/flashsdk/adl.rb
flashsdk-1.0.20.pre lib/flashsdk/adl.rb
flashsdk-1.0.18.pre lib/flashsdk/adl.rb
flashsdk-1.0.17.pre lib/flashsdk/adl.rb
flashsdk-1.0.15.pre lib/flashsdk/adl.rb
flashsdk-1.0.14.pre lib/flashsdk/adl.rb