Coder Social home page Coder Social logo

shoes4's Introduction

shoes4 Build Status

Shoes 4 : the next version of Shoes

Hacking

  1. Fork the repository and clone your fork, or

     $ git clone git://github.com/shoes/shoes4.git
    
  2. Install a JDK and JRuby

     $ rvm install jruby
    
  3. Set up your local environment

     $ cd shoes4
     $ gem install bundler && bundle install
    
  4. You're ready to go!

Hacking (on Windows)

  1. Fork the repository and clone your fork, or

     C:\tmp> git clone git://github.com/shoes/shoes4.git
    
  2. Install a JDK and JRuby (Windows Executable)

  3. Set up your local environment

     C:\tmp>cd shoes4
     C:\tmp\shoes4>jruby --1.9 -S gem install json -v '1.6.1'
     C:\tmp\shoes4>jruby --1.9 -S gem install bundler
     C:\tmp\shoes4>jruby --1.9 -S bundle install
    
  4. You're ready to go!

Refer to the RubyInstaller DevKit if you are having issues building native gems. You might be forced to download and install MinGW if your system is missing GCC or make.

Running Specs

Shoes 4 is developed in a TDD style. You should be running the specs :)

There are rake tasks for running specs. Some examples:

$ rake spec                # Run all the specs
$ rake spec:shoes          # Run the specs for the Shoes DSL
$ rake spec:swt            # Run the specs for the Swt implementation
$ rake spec[Shape]         # Run all the specs for Shape
$ rake spec:shoes[Shape]   # Run just the DSL specs for Shape

Note: For Windows, C:\tmp\shoes4>jruby --1.9 -S rake spec

Running a Shoes App

Shoes 4 comes with a command-line app runner. Just pass it the filename of your Shoes app.

$ bin/swt-shoooes samples/simple-sound.rb

Note: For Windows, C:\tmp\shoes4>bin\swt-shoooes samples\simple-sound.rb

Want to contribute?

That's awesome, thank you!

You can go ahead an try to fix one of our issues.

Also there is a list of samples that already work at samples/README, along with all the other samples. You can try to get a new sample to run.

With all you do, please make sure to write specs as shoes4 is developped TDD-style (see the Running Specs section above). So make sure that you don't break any tests :-)

If you feel unsure about testing or your implementation just open an issue or a pull request. We're happy to help you get your contribution ready to be merged in order to help build shoes4!

shoes4's People

Contributors

wasnotrice avatar ashbb avatar alindeman avatar pragtob avatar nashby avatar mpapis avatar pjfitzgibbons avatar jrgifford avatar steveklabnik avatar ychatz avatar davorb avatar

Stargazers

Andy Maleh avatar

Watchers

Andy Maleh avatar James Cloos avatar  avatar

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.