github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

lukebayes / project-sprouts

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 117
    • 21
  • Source
  • Commits
  • Network (21)
  • Issues (32)
  • Downloads (4)
  • Wiki (4)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (4)
    • fcsh
    • gh-pages
    • integration
    • master ✓
  • Tags (4)
    • 02.03.004
    • 0.7.193
    • 0.7.192
    • 0.7.191
Sending Request…
Click here to lend your support to: project-sprouts and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Project Sprouts is an open-source, cross-platform project generation and configuration tool for ActionScript 2, ActionScript 3, Adobe AIR Flash and Flex projects — Read more

  cancel

http://projectsprouts.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated link to Flex 4 SDK 
lukebayes (author)
Mon Jan 11 14:34:35 -0800 2010
commit  0eb9eded73d81a256a6bd2c16e79f00eec7aa15e
tree    d15a76809f493edd7415fc486a088b94ebd1e954
parent  b59e26e67acd8735689a7e9e31b16bd5dc6c71b5
project-sprouts /
name age
history
message
file .gitignore Sat Jul 19 17:24:12 -0700 2008 Integrated SWC helper [lukebayes]
file MIT-LICENSE Sat Apr 18 05:14:42 -0700 2009 Added license to repo main directory [lukebayes]
file README.textile Wed Oct 28 19:58:19 -0700 2009 Updated formatting on readme [lukebayes]
directory bundles/ Mon Jan 11 14:34:35 -0800 2010 Updated link to Flex 4 SDK [lukebayes]
directory libraries/ Mon Oct 12 10:59:57 -0700 2009 Fixed invalid asunit25 gem [lukebayes]
file rakefile.rb Wed Oct 28 13:33:08 -0700 2009 Added gemcutter tasks to project rakefile [lukebayes]
directory sprout/ Fri Oct 30 07:41:48 -0700 2009 Fixed project name validation handler [lukebayes]
directory tools/ Mon Jan 11 14:34:35 -0800 2010 Updated link to Flex 4 SDK [lukebayes]
directory vendor/ Sat May 24 12:06:41 -0700 2008 First real git commit [lukebayes]
README.textile

Project Sprouts

Project Sprouts is an open-source, cross-platform project generation and configuration tool for ActionScript 2, ActionScript 3, and Flex projects.

Project Sprouts provides everything you need to get up and running with SWF development instantly. The only prerequisites are Ruby and RubyGems.

Sprouts includes support for project and code templates, automated build scripts, remote managed libraries, and automatic installation of dependencies like the Flash VM and a variety of compilers and tools.

Sprouts works on OS X, Windows XP, Windows Vista and many flavors of Linux.

Installation

  1. Install Ruby
  2. Install RubyGems
  3. Install the Sprout gem:

<pre>gem install sprout</pre>
(If prompted, select the appropriate gem for your platform.)

Getting Started

Open a terminal and enter the following commands:

Create a new ActionScript 3 project and move into it:

sprout -n as3 SomeProject
cd SomeProject

Resolve all dependencies, compile and launch the SWF:

rake

Generate a new class, test case and test suite:

script/generate utils.MathUtil

Compile and launch the test harness:

rake test

Compile a SWC file:

rake swc

Generate documentation using AsDoc:

rake doc

Execute the test harness, emit a JUnit-compatible test results document, and close the Flash Player when complete or after encountering an uncaught exception:

rake cruise

Display all available Rake tasks:

rake -T

Some Simple, Sample Rake Tasks

Sprouts brings the power of the Rake build language to SWF development. Rake is similar to Make and Ant, but harnesses the full power and flexibility of Ruby to help us describe the structure and automate the behavior of any build, from the simplest to the most complex.

Following are some simple examples of the Rake tasks that Sprouts provides:

ActionScript 3 and MXML Projects:


mxmlc :debug do |t|
  t.input = 'src/SomeProject.as'
  t.output = 'bin/SomeProject.swf'
end

compc :deploy do |t|
  t.input = 'src/SomeProject.as'
  t.output = 'bin/SomeProject.swc'
end

asdoc :doc do |t|
  t.doc_classes = 'SomeProject'
  t.source_path = 'src'
end

flashplayer :run do |t|
  t.swf = 'bin/SomeProject.swf'
end

ActionScript 2 Projects:


swfmill :skin do |t|
  t.input = 'assets/skins/SomeProjectSkin'
  t.output = 'assets/skins/SomeProjectSkin.swf'
end

mtasc :debug => :skin do |t|
  t.main = true
  t.header = '800:600:24'
  t.input = 'src/SomeProject.as'
  t.output = 'bin/SomeProject.swf'
end

flashplayer :run do |t|
  t.swf = 'bin/SomeProject.swf'
end

Some Links

  • Web Site
  • File a Bug
  • See the Documentation
  • Meet the Community

MIT License

Copyright (c) 2007, 2008, 2009 Pattern Park

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server