grunt-fbc

0.1.1 • Public • Published

grunt-fbc

Rum fb-compiler for grunt-cli.

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-fbc --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-fbc');

The "fbc" task

Overview

In your project's Gruntfile, add a section named fbc to the data object passed into grunt.initConfig().

grunt.initConfig({
  fbc: {
    targetA: {
      argv: [
        'fb-core',  //Will be understood as 'fb/core.jade' or 'fb/core.html'
        'path/to/fb-banner',  //Will be understood as 'path/to/fb-banner.jade' direcly
        // More files
      ],
      options: {
        external: 'default.json', //External variables
        archive: true, // Create archives
        path: 'first/search/path:second/search/path', //Use ; instead on windows        // More options see "fbc --help"
        // All of them are available.
      }
    },
    // Other targets
  },
});

Readme

Keywords

Package Sidebar

Install

npm i grunt-fbc

Weekly Downloads

2

Version

0.1.1

License

none

Last publish

Collaborators

  • karlcauchy