GithubHelp home page GithubHelp logo

lukebayes / sprout-flashsdk Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 14.0 1.21 MB

Flash Development SDK which includes support for ActionScript 3, Flex 3, Flex 4 and AIR 2

Home Page: http://projectsprouts.org

ActionScript 1.22% Ruby 98.78%

sprout-flashsdk's People

Contributors

apinstein avatar destroytoday avatar kristoferjoseph avatar lukebayes avatar simongregory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sprout-flashsdk's Issues

Bug in boolean params; they produce wrong shell command string

For my app I use "-use-network=false". It is not working as expected.

Instead of outputting "-use-network=false" it will just output "-use-network" which has no effect.

This bug probably affects all boolean-ish compile flags in all of sprout.

I did some debugging, and changing this:

sprout-1.1.15.pre/lib/sprout/executable/base.rb:948 to

add_param :use_network, Boolean, { :default => true, :show_on_false => true, :hidden_value => false, :delimiter => '=' }

Fixes the problem. I did some debugging, and even though in Param the
defaults are hidden_value=false, delimiter="=", somehow those are not
being respected. I did a dump of all instance vars in the
param.to_shell and the use_network is defaulting to hidden_value=true
which causes the problem.

I can't run rake ci task

The task "ci" appears in README file, but I can't run it. It looks it's not defined. This is the message I got it (not too specific, actually)

rake aborted!
Don't know how to build task 'ci'

The task doesn't apper neither in the list with rake -T.

Thank you!

rake clean doesn't have expected effect when using fcsh

fcsh doesn't know about rake by default, and thus when a "clean" is issued for a sprout project, fcsh doesn't clear its cache. Fortunately there's an fcsh command to clear the cache, which is already supported by sprout.

I've written a simple extension to the build-in rake clean task to automatically call fcsh clean on rake clean:

task :clean do
  if ENV['use_fcsh']
    puts "Clearing the fcsh cache"
    Rake::Task["fcsh:clear"].invoke
  end
end

Would appreciate a discussion about sprout's knowledge of fcsh in the current version so we can get this right.

Is this something that would make sense being dropped into the core flashsdk rakefile?

I don't see why not but I wanted to open it for discussion first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.