domgetter / dare

Ruby Web Game library on top of Opal
MIT License
122 stars 5 forks source link

`rake build` creates .js file with HTML content #11

Open blinry opened 8 years ago

blinry commented 8 years ago

This gem looks really cool, and I'm thinking of using it for the upcoming Ludum Dare. But at the moment, someting seems broken:

$ gem install dare
Fetching: dare-0.2.0.gem (100%)
Successfully installed dare-0.2.0
Parsing documentation for dare-0.2.0
Installing ri documentation for dare-0.2.0
Done installing documentation for dare after 0 seconds
1 gem installed
$ dare new game
      create  game/Gemfile
      create  game/Rakefile
      create  game/game.rb
      create  game/game.html
$ cd game/
$ rake build
$ cat game.js
<!DOCTYPE html>
<html>
  <head>
    <title id="pageTitle"></title>
    <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
    <!-- Will add this back when 0.7.0 is released -->
    <!-- <script src="http://cdn.opalrb.org/opal/0.7.0/opal.min.js"></script> -->
  </head>
  <body>
    <script src="game.js"></script>
  </body>
</html>

Also, Opal 0.7.0 has been released! :-)