0.1.2 • Published 10 years ago

grunt-leaves-dart v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Grunt Leaves dart

A Grunt plugin to to get Dart support in Leaves.

This will not be useful if you are not using Leaves.

In development, this copies the Dart files and reload the browser automatically, so you need a browser that can run Dart (only Dartium for now).

The production mode is in progress. When done, it will compile everything to the dist directory.

Installation

$ npm install --save-dev grunt-leaves-dart

Usage

You need to set the base directory for tmp to tmp/web:

$ leaves config set dir.tmp tmp/web

The directory layout should look like this.

$ tree
.
├── assets
│   ├── css
│   │   └── main.styl
│   ├── favicon.ico
│   ├── img
│   └── js
│       └── app.coffee
├── bower.json
├── dart
│   ├── lib
│   │   ├── alibfile.dart
│   │   └── mypackage
│   ├── pubspec.lock
│   └── web
│       └── main.dart
├── package.json
└── views
    ├── index.jade
    └── layout.jade