Permalink
Browse files

Enable Travis build. made README support markdown to render travis li…

…nk. Travis currently only builds for OSX but can be extended for other platforms
  • Loading branch information...
1 parent eb0f909 commit bbca6ec0e111e5fb48aa3245f883551c88dc1790 Pradeep Roark committed Sep 18, 2013
Showing with 36 additions and 28 deletions.
  1. +5 −0 .travis.yml
  2. +0 −28 README
  3. +31 −0 README.md
View
5 .travis.yml
@@ -0,0 +1,5 @@
+language: objective-c
+git:
+ submodules: false
+before_script: brew update && brew install sdl2 && wget lambda.haskell.org/platform/download/2013.2.0.0/Haskell%20Platform%202013.2.0.0%2064bit.pkg && sudo installer -pkg "Haskell Platform 2013.2.0.0 64bit.pkg" -target /
+script: cabal configure --enable-tests && cabal build && cabal test
View
28 README
@@ -1,28 +0,0 @@
-This package contains Haskell bindings to libSDL >= 2.0.0.
-
-
-TODO:
- - Surface creation and drawing.[1]
- - Input events.[2,3,4,5,6]
- - Force feedback.[7]
- - Audio.[8]
- - Power management.[9]
- - Update the installation instructions in WIN32.
- - Verify that all types and top-level functions are documented.
- - Migrate examples.
- - Optional: Convert additional SDL2 examples/tutorials to Haskell.
- - Log handling [10]
- - Assertions [11]
-
-
-[1]: http://wiki.libsdl.org/CategorySurface
-[2]: http://wiki.libsdl.org/CategoryEvents
-[3]: http://wiki.libsdl.org/CategoryKeyboard
-[4]: http://wiki.libsdl.org/CategoryMouse
-[5]: http://wiki.libsdl.org/CategoryJoystick
-[6]: http://wiki.libsdl.org/CategoryGameController
-[7]: http://wiki.libsdl.org/CategoryForceFeedback
-[8]: http://wiki.libsdl.org/CategoryAudio
-[9]: http://wiki.libsdl.org/CategoryPower
-[10]: http://wiki.libsdl.org/CategoryLog
-[11]: http://wiki.libsdl.org/CategoryAssertions
View
31 README.md
@@ -0,0 +1,31 @@
+This package contains Haskell bindings to libSDL >= 2.0.0.
+
+[![Build Status](https://travis-ci.org/Lemmih/hsSDL2.png)](https://travis-ci.org/Lemmih/hsSDL2)
+
+#### TODO:
+
+ - Surface creation and drawing. [[1]](#1)
+ - Input events. [[2]](#2) ,[[3]](#3) ,[[4]](#4) ,[[5]](#5) , [[6]](#6)
+ - Force feedback. [[7]](#7)
+ - Audio.[[8]](#8)
+ - Power management. [[9]](#9)
+ - Update the installation instructions in WIN32.
+ - Verify that all types and top-level functions are documented.
+ - Migrate examples.
+ - Optional: Convert additional SDL2 examples/tutorials to Haskell.
+ - Log handling [[10]](#10)
+ - Assertions [[11]](#11)
+
+#### Reference:
+
+1. <a id="1"></a>http://wiki.libsdl.org/CategorySurface
+2. <a id="2"></a>http://wiki.libsdl.org/CategoryEvents
+3. <a id="3"></a>http://wiki.libsdl.org/CategoryKeyboard
+4. <a id="4"></a>http://wiki.libsdl.org/CategoryMouse
+5. <a id="5"></a>http://wiki.libsdl.org/CategoryJoystick
+6. <a id="6"></a>http://wiki.libsdl.org/CategoryGameController
+7. <a id="7"></a>http://wiki.libsdl.org/CategoryForceFeedback
+8. <a id="8"></a>http://wiki.libsdl.org/CategoryAudio
+9. <a id="9"></a>http://wiki.libsdl.org/CategoryPower
+10. <a id="10"></a>http://wiki.libsdl.org/CategoryLog
+11. <a id="11"></a>http://wiki.libsdl.org/CategoryAssertions

0 comments on commit bbca6ec

Please sign in to comment.