Skip to content

rake build creates .js file with HTML content #11

@blinry

Description

@blinry

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! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions