flashsdk 1.0.21.pre → 1.0.22.pre

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.
@@ -50,6 +50,10 @@ module FlashSDK
50
50
  # @return [String] The path where source files should be created.
51
51
  add_param :src, String, { :default => 'src' }
52
52
 
53
+ ##
54
+ # @return [String] The path where documentation should be created.
55
+ add_param :doc, String, { :default => 'doc' }
56
+
53
57
  ##
54
58
  # @return [Boolean] Call the TestClassGenerator after creating class.
55
59
  add_param :test_class, Boolean, { :default => true }
@@ -35,17 +35,6 @@ end
35
35
  desc "Compile and run the debug swf"
36
36
  flashplayer :run => "<%= bin %>/<%= debug_swf_name %>"
37
37
 
38
- ##############################
39
- # SWC
40
-
41
- compc "<%= bin %>/<%= class_name %>.swc" do |t|
42
- t.input_class = "<%= class_name %>"
43
- t.source_path << 'src'
44
- end
45
-
46
- desc "Compile the SWC file"
47
- task :swc => '<%= bin %>/<%= class_name %>.swc'
48
-
49
38
  ##############################
50
39
  # Test
51
40
 
@@ -61,5 +50,27 @@ end
61
50
  desc "Compile and run the test swf"
62
51
  flashplayer :test => "<%= bin %>/<%= test_swf_name %>"
63
52
 
53
+ ##############################
54
+ # SWC
55
+
56
+ compc "<%= bin %>/<%= class_name %>.swc" do |t|
57
+ t.input_class = "<%= class_name %>"
58
+ t.source_path << 'src'
59
+ end
60
+
61
+ desc "Compile the SWC file"
62
+ task :swc => '<%= bin %>/<%= class_name %>.swc'
63
+
64
+ ##############################
65
+ # DOC
66
+
67
+ desc "Generate documentation at <%= doc %>/"
68
+ asdoc '<%= doc %>' do |t|
69
+ t.doc_sources << "<%= src %>"
70
+ t.exclude_sources << "<%= src %>/<%= test_runner_name %>.as"
71
+ end
72
+
73
+ ##############################
74
+ # DEFAULT
64
75
  task :default => :run
65
76
 
@@ -1,5 +1,6 @@
1
1
  module FlashSDK
2
2
 
3
+ ##
3
4
  # The MXMLC task provides a rake front end to the Flex MXMLC command line compiler.
4
5
  # This task is integrated with the LibraryTask so that if any dependencies are
5
6
  # library tasks, they will be automatically added to the library_path or source_path
@@ -46,6 +47,45 @@ module FlashSDK
46
47
  # t.input = 'src/SomeProjectRunner.as'
47
48
  # end
48
49
  #
50
+ # == FCSH
51
+ #
52
+ # Building with MXMLC can be quite slow. If you'd like
53
+ # to measure your build times in fractions of a second
54
+ # rather than minutes, you can use the Flex Compiler
55
+ # SHell (FCSH).
56
+ #
57
+ # Sprouts makes it incredibly easy to
58
+ # use FCSH, following are some simple instructions:
59
+ #
60
+ # Open up a new terminal, cd into your project
61
+ # directory and run:
62
+ #
63
+ # rake fcsh:start
64
+ #
65
+ # Open up a new terminal, cd into your project
66
+ # directory and run whatever Rake task depends
67
+ # on at least one MXMLC task, and call the
68
+ # +fcsh+ task first. This can be done on the
69
+ # terminal like this:
70
+ #
71
+ # rake fcsh test
72
+ #
73
+ # More information about FCSH can be found on the {Project Sprouts Blog}[http://projectsprouts.org/2011/01/18/using-fcsh.html].
74
+ #
75
+ # == Flex Debugger (FDB)
76
+ #
77
+ # Like FCSH, the Flex Debugger can be initiated
78
+ # by calling (or depending on) the +fdb+ Rake task.
79
+ #
80
+ # rake fdb test
81
+ #
82
+ # This will drop you into the Flex Debugger shell
83
+ # environment, you can type +help+ at anytime to
84
+ # learn more about what commands are available.
85
+ #
86
+ # You can also type +quit+ or hit CTRL+C to exit
87
+ # FDB.
88
+ #
49
89
  # @see FlashSDK::CompilerBase
50
90
  # @see Sprout::Executable
51
91
  #
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 21
8
+ - 22
9
9
  - pre
10
- version: 1.0.21.pre
10
+ version: 1.0.22.pre
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luke Bayes
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-26 00:00:00 -08:00
18
+ date: 2011-01-29 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -72,11 +72,6 @@ extra_rdoc_files: []
72
72
  files:
73
73
  - bin/sprout-as3
74
74
  - bin/sprout-flex
75
- - doc/adl-list.txt
76
- - doc/adt-list.txt
77
- - doc/compc-list.txt
78
- - doc/mxmlc-advanced-list.txt
79
- - doc/mxmlc-list.txt
80
75
  - ext/CloseFlashPlayerForDumbassOSX.scpt
81
76
  - ext/OpenFlashPlayerForDumbassOSX.scpt
82
77
  - flashsdk.gemspec
data/doc/adl-list.txt DELETED
@@ -1,4 +0,0 @@
1
- application descriptor file not specified
2
- usage:
3
- adl ( -runtime <runtime-dir> )? ( -pubid <pubid> )? -nodebug? ( -profile mobileDevice|extendedMobileDevice|desktop|extendedDesktop )? ( -screensize <size> )? <app-desc> <root-dir>? ( -- ... )?
4
- adl -help
data/doc/adt-list.txt DELETED
@@ -1,12 +0,0 @@
1
- usage:
2
- adt -checkstore SIGNING_OPTIONS
3
- adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? <key-type> <pfx-file> <password>
4
- adt -help
5
- adt -migrate SIGNING_OTIONS <air-file-in> <air-file-out>
6
- adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS
7
- adt -prepare <airi-file> <app-desc> FILE_ARGS
8
- adt -sign SIGNING_OPTIONS <airi-file> <air-file>
9
- adt -version
10
-
11
- SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )?
12
- FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*
data/doc/compc-list.txt DELETED
@@ -1,130 +0,0 @@
1
- Adobe Flex Compiler (compc)
2
- Version 4.0.0 build 10485
3
- Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.
4
-
5
-
6
- -benchmark
7
- -compiler.accessible
8
- -compiler.actionscript-file-encoding <string>
9
- -compiler.allow-source-path-overlap
10
- -compiler.as3
11
- -compiler.context-root <context-path>
12
- -compiler.debug
13
- -compiler.defaults-css-files [filename] [...]
14
- -compiler.defaults-css-url <string>
15
- -compiler.define <name> <value>
16
- -compiler.enable-runtime-design-layers
17
- -compiler.es
18
- -compiler.extensions.extension [extension] [parameters] [...]
19
- -compiler.external-library-path [path-element] [...]
20
- -compiler.fonts.advanced-anti-aliasing
21
- -compiler.fonts.flash-type
22
- -compiler.fonts.languages.language-range <lang> <range>
23
- -compiler.fonts.local-font-paths [path-element] [...]
24
- -compiler.fonts.local-fonts-snapshot <string>
25
- -compiler.fonts.managers [manager-class] [...]
26
- -compiler.fonts.max-cached-fonts <string>
27
- -compiler.fonts.max-glyphs-per-face <string>
28
- -compiler.headless-server
29
- -compiler.include-libraries [library] [...]
30
- -compiler.incremental
31
- -compiler.keep-all-type-selectors
32
- -compiler.keep-as3-metadata [name] [...]
33
- -compiler.keep-generated-actionscript
34
- -compiler.library-path [path-element] [...]
35
- -compiler.locale [locale-element] [...]
36
- -compiler.mxml.compatibility-version <version>
37
- -compiler.mxml.qualified-type-selectors
38
- -compiler.namespaces.namespace [uri] [manifest] [...]
39
- -compiler.optimize
40
- -compiler.services <filename>
41
- -compiler.show-actionscript-warnings
42
- -compiler.show-binding-warnings
43
- -compiler.show-shadowed-device-font-warnings
44
- -compiler.show-unused-type-selector-warnings
45
- -compiler.source-path [path-element] [...]
46
- -compiler.strict
47
- -compiler.theme [filename] [...]
48
- -compiler.use-resource-bundle-metadata
49
- -compiler.verbose-stacktraces
50
- -compiler.warn-array-tostring-changes
51
- -compiler.warn-assignment-within-conditional
52
- -compiler.warn-bad-array-cast
53
- -compiler.warn-bad-bool-assignment
54
- -compiler.warn-bad-date-cast
55
- -compiler.warn-bad-es3-type-method
56
- -compiler.warn-bad-es3-type-prop
57
- -compiler.warn-bad-nan-comparison
58
- -compiler.warn-bad-null-assignment
59
- -compiler.warn-bad-null-comparison
60
- -compiler.warn-bad-undefined-comparison
61
- -compiler.warn-boolean-constructor-with-no-args
62
- -compiler.warn-changes-in-resolve
63
- -compiler.warn-class-is-sealed
64
- -compiler.warn-const-not-initialized
65
- -compiler.warn-constructor-returns-value
66
- -compiler.warn-deprecated-event-handler-error
67
- -compiler.warn-deprecated-function-error
68
- -compiler.warn-deprecated-property-error
69
- -compiler.warn-duplicate-argument-names
70
- -compiler.warn-duplicate-variable-def
71
- -compiler.warn-for-var-in-changes
72
- -compiler.warn-import-hides-class
73
- -compiler.warn-instance-of-changes
74
- -compiler.warn-internal-error
75
- -compiler.warn-level-not-supported
76
- -compiler.warn-missing-namespace-decl
77
- -compiler.warn-negative-uint-literal
78
- -compiler.warn-no-constructor
79
- -compiler.warn-no-explicit-super-call-in-constructor
80
- -compiler.warn-no-type-decl
81
- -compiler.warn-number-from-string-changes
82
- -compiler.warn-scoping-change-in-this
83
- -compiler.warn-slow-text-field-addition
84
- -compiler.warn-unlikely-function-value
85
- -compiler.warn-xml-class-has-changed
86
- -compute-digest
87
- -debug-password <string>
88
- -default-background-color <int>
89
- -default-frame-rate <int>
90
- -default-script-limits <max-recursion-depth> <max-execution-time>
91
- -default-size <width> <height>
92
- -directory
93
- -dump-config <filename>
94
- -externs [symbol] [...]
95
- -frames.frame [label] [classname] [...]
96
- -framework <string>
97
- -help [keyword] [...]
98
- -include-classes [class] [...]
99
- -include-file <name> <path>
100
- -include-lookup-only
101
- -include-namespaces [uri] [...]
102
- -include-resource-bundles [bundle] [...]
103
- -include-sources [path-element] [...]
104
- -include-stylesheet <name> <path>
105
- -includes [symbol] [...]
106
- -licenses.license <product> <serial-number>
107
- -link-report <filename>
108
- -load-config <filename>
109
- -load-externs <filename>
110
- -metadata.contributor <name>
111
- -metadata.creator <name>
112
- -metadata.date <text>
113
- -metadata.description <text>
114
- -metadata.language <code>
115
- -metadata.localized-description <text> <lang>
116
- -metadata.localized-title <title> <lang>
117
- -metadata.publisher <name>
118
- -metadata.title <text>
119
- -output <filename>
120
- -raw-metadata <text>
121
- -resource-bundle-list <filename>
122
- -runtime-shared-libraries [url] [...]
123
- -runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
124
- -static-link-runtime-shared-libraries
125
- -target-player <version>
126
- -use-network
127
- -verify-digests
128
- -version
129
- -warnings
130
-
@@ -1,122 +0,0 @@
1
- Adobe Flex Compiler (mxmlc)
2
- Version 4.0.0 build 10485
3
- Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.
4
-
5
-
6
- -benchmark
7
- -compiler.accessible
8
- -compiler.actionscript-file-encoding <string>
9
- -compiler.allow-source-path-overlap
10
- -compiler.as3
11
- -compiler.context-root <context-path>
12
- -compiler.debug
13
- -compiler.defaults-css-files [filename] [...]
14
- -compiler.defaults-css-url <string>
15
- -compiler.define <name> <value>
16
- -compiler.enable-runtime-design-layers
17
- -compiler.es
18
- -compiler.extensions.extension [extension] [parameters] [...]
19
- -compiler.external-library-path [path-element] [...]
20
- -compiler.fonts.advanced-anti-aliasing
21
- -compiler.fonts.flash-type
22
- -compiler.fonts.languages.language-range <lang> <range>
23
- -compiler.fonts.local-font-paths [path-element] [...]
24
- -compiler.fonts.local-fonts-snapshot <string>
25
- -compiler.fonts.managers [manager-class] [...]
26
- -compiler.fonts.max-cached-fonts <string>
27
- -compiler.fonts.max-glyphs-per-face <string>
28
- -compiler.headless-server
29
- -compiler.include-libraries [library] [...]
30
- -compiler.incremental
31
- -compiler.keep-all-type-selectors
32
- -compiler.keep-as3-metadata [name] [...]
33
- -compiler.keep-generated-actionscript
34
- -compiler.library-path [path-element] [...]
35
- -compiler.locale [locale-element] [...]
36
- -compiler.mxml.compatibility-version <version>
37
- -compiler.mxml.qualified-type-selectors
38
- -compiler.namespaces.namespace [uri] [manifest] [...]
39
- -compiler.optimize
40
- -compiler.services <filename>
41
- -compiler.show-actionscript-warnings
42
- -compiler.show-binding-warnings
43
- -compiler.show-shadowed-device-font-warnings
44
- -compiler.show-unused-type-selector-warnings
45
- -compiler.source-path [path-element] [...]
46
- -compiler.strict
47
- -compiler.theme [filename] [...]
48
- -compiler.use-resource-bundle-metadata
49
- -compiler.verbose-stacktraces
50
- -compiler.warn-array-tostring-changes
51
- -compiler.warn-assignment-within-conditional
52
- -compiler.warn-bad-array-cast
53
- -compiler.warn-bad-bool-assignment
54
- -compiler.warn-bad-date-cast
55
- -compiler.warn-bad-es3-type-method
56
- -compiler.warn-bad-es3-type-prop
57
- -compiler.warn-bad-nan-comparison
58
- -compiler.warn-bad-null-assignment
59
- -compiler.warn-bad-null-comparison
60
- -compiler.warn-bad-undefined-comparison
61
- -compiler.warn-boolean-constructor-with-no-args
62
- -compiler.warn-changes-in-resolve
63
- -compiler.warn-class-is-sealed
64
- -compiler.warn-const-not-initialized
65
- -compiler.warn-constructor-returns-value
66
- -compiler.warn-deprecated-event-handler-error
67
- -compiler.warn-deprecated-function-error
68
- -compiler.warn-deprecated-property-error
69
- -compiler.warn-duplicate-argument-names
70
- -compiler.warn-duplicate-variable-def
71
- -compiler.warn-for-var-in-changes
72
- -compiler.warn-import-hides-class
73
- -compiler.warn-instance-of-changes
74
- -compiler.warn-internal-error
75
- -compiler.warn-level-not-supported
76
- -compiler.warn-missing-namespace-decl
77
- -compiler.warn-negative-uint-literal
78
- -compiler.warn-no-constructor
79
- -compiler.warn-no-explicit-super-call-in-constructor
80
- -compiler.warn-no-type-decl
81
- -compiler.warn-number-from-string-changes
82
- -compiler.warn-scoping-change-in-this
83
- -compiler.warn-slow-text-field-addition
84
- -compiler.warn-unlikely-function-value
85
- -compiler.warn-xml-class-has-changed
86
- -debug-password <string>
87
- -default-background-color <int>
88
- -default-frame-rate <int>
89
- -default-script-limits <max-recursion-depth> <max-execution-time>
90
- -default-size <width> <height>
91
- -dump-config <filename>
92
- -externs [symbol] [...]
93
- -frames.frame [label] [classname] [...]
94
- -framework <string>
95
- -help [keyword] [...]
96
- -include-resource-bundles [bundle] [...]
97
- -includes [symbol] [...]
98
- -licenses.license <product> <serial-number>
99
- -link-report <filename>
100
- -load-config <filename>
101
- -load-externs <filename>
102
- -metadata.contributor <name>
103
- -metadata.creator <name>
104
- -metadata.date <text>
105
- -metadata.description <text>
106
- -metadata.language <code>
107
- -metadata.localized-description <text> <lang>
108
- -metadata.localized-title <title> <lang>
109
- -metadata.publisher <name>
110
- -metadata.title <text>
111
- -output <filename>
112
- -raw-metadata <text>
113
- -resource-bundle-list <filename>
114
- -runtime-shared-libraries [url] [...]
115
- -runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
116
- -static-link-runtime-shared-libraries
117
- -target-player <version>
118
- -use-network
119
- -verify-digests
120
- -version
121
- -warnings
122
-
data/doc/mxmlc-list.txt DELETED
@@ -1,55 +0,0 @@
1
- Adobe Flex Compiler (mxmlc)
2
- Version 4.0.0 build 10485
3
- Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.
4
-
5
-
6
- -benchmark
7
- -compiler.accessible
8
- -compiler.actionscript-file-encoding <string>
9
- -compiler.context-root <context-path>
10
- -compiler.debug
11
- -compiler.enable-runtime-design-layers
12
- -compiler.extensions.extension [extension] [parameters] [...]
13
- -compiler.external-library-path [path-element] [...]
14
- -compiler.fonts.advanced-anti-aliasing
15
- -compiler.fonts.flash-type
16
- -compiler.fonts.max-glyphs-per-face <string>
17
- -compiler.include-libraries [library] [...]
18
- -compiler.incremental
19
- -compiler.library-path [path-element] [...]
20
- -compiler.locale [locale-element] [...]
21
- -compiler.mxml.compatibility-version <version>
22
- -compiler.namespaces.namespace [uri] [manifest] [...]
23
- -compiler.optimize
24
- -compiler.services <filename>
25
- -compiler.show-actionscript-warnings
26
- -compiler.show-binding-warnings
27
- -compiler.show-shadowed-device-font-warnings
28
- -compiler.show-unused-type-selector-warnings
29
- -compiler.source-path [path-element] [...]
30
- -compiler.strict
31
- -compiler.theme [filename] [...]
32
- -compiler.use-resource-bundle-metadata
33
- -framework <string>
34
- -help [keyword] [...]
35
- -include-resource-bundles [bundle] [...]
36
- -licenses.license <product> <serial-number>
37
- -load-config <filename>
38
- -metadata.contributor <name>
39
- -metadata.creator <name>
40
- -metadata.date <text>
41
- -metadata.description <text>
42
- -metadata.language <code>
43
- -metadata.localized-description <text> <lang>
44
- -metadata.localized-title <title> <lang>
45
- -metadata.publisher <name>
46
- -metadata.title <text>
47
- -output <filename>
48
- -runtime-shared-libraries [url] [...]
49
- -runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
50
- -static-link-runtime-shared-libraries
51
- -target-player <version>
52
- -use-network
53
- -version
54
- -warnings
55
-