diff options
| author | Tom Black <[email protected]> | 2015-10-04 20:37:46 -0400 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2015-10-04 20:37:46 -0400 |
| commit | a806fa7ec1e66a23bdda5cde7075830095740fa8 (patch) | |
| tree | 1350062b8ca641cfb43070ed4df6c89fd1dea442 /README.md | |
| parent | 928ff0559cafe6992086c8426c593b7e33e48963 (diff) | |
| download | ruby2d-a806fa7ec1e66a23bdda5cde7075830095740fa8.tar.gz ruby2d-a806fa7ec1e66a23bdda5cde7075830095740fa8.zip | |
Adding README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c0b5369 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Welcome to Ruby 2D! + +This is the Ruby 2D gem. [Check out the website](http://www.ruby2d.com) for help getting started, documentation, news, and more. + +## Running Tests + +### Getting the Test Media + +To keep the size of this repository small, media needed for tests are checked into the Simple 2D [`test_media`](https://github.com/simple2d/test_media) repo and referenced as a [Git submodule](http://git-scm.com/book/en/v2/Git-Tools-Submodules). After cloning this repo, init the submodule and get its contents by using: + +```bash +git submodule init +git submodule update --remote +``` + +Alternatively, you can clone the repo and update the submodule in one step: + +```bash +git clone --recursive https://github.com/ruby2d/ruby2d.git +``` + +Simply run `git submodule update --remote` anytime to get the latest changes from `test_media` (i.e. when there's a new commit available). + +### Available Tests + +The current tests available are: + +- [`testcard.rb`](tests/testcard.rb) – A graphical card, similar to [testcards from TV](http://en.wikipedia.org/wiki/Testcard), with the goal of making sure all visual and inputs are working properly. + +Run a test using `rake <name_of_test>`, for example: + +```bash +rake testcard +``` |
