Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed default AS3 rakefile to work with modern SDK

  • Loading branch information...
commit 909ce645487543fec8936c5e46fa148a55118c43 1 parent 966dd12
@lukebayes authored
View
2  VERSION
@@ -1 +1 @@
-1.1.35.pre
+1.1.36.pre
View
2  flashsdk.gemspec
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.post_install_message = File.read 'POSTINSTALL.rdoc'
s.files = Dir['**/*']
s.files.reject! { |fn| fn.match /.git|.svn|.DS_Store/ }
- s.add_dependency('sprout', '>= 1.1.15.pre')
+ s.add_dependency('sprout', '>= 1.1.18.pre')
s.add_development_dependency('shoulda')
s.add_development_dependency('mocha')
s.require_paths << 'lib'
View
3  lib/flashsdk/generators/templates/rakefile.rb
@@ -29,6 +29,7 @@
# Compile the debug swf
mxmlc "<%= bin %>/<%= debug_swf_name %>" do |t|
t.input = "<%= src %>/<%= class_name %>.as"
+ t.static_link_runtime_shared_libraries = true
t.debug = true
end
@@ -43,6 +44,7 @@
# Compile the test swf
mxmlc "<%= bin %>/<%= test_swf_name %>" => :asunit4 do |t|
t.input = "<%= src %>/<%= test_runner_name %>.as"
+ t.static_link_runtime_shared_libraries = true
t.source_path << 'test'
t.debug = true
end
@@ -55,6 +57,7 @@
compc "<%= bin %>/<%= class_name %>.swc" do |t|
t.input_class = "<%= class_name %>"
+ t.static_link_runtime_shared_libraries = true
t.source_path << 'src'
end
Please sign in to comment.
Something went wrong with that request. Please try again.