mixdown-publish

Grunt task to export a mixdown project to PhoneGap, static site, or other.

npm install mixdown-publish
2 downloads in the last week
8 downloads in the last month

mixdown-publish

Grunt task to export a mixdown project to PhoneGap, static site, or other.

Grunt.js

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    "mixdown-publish": {
      android: {
        destination: './tests/output',  
        serverConfig: './tests/fixtures/server.json',
        envConfig: "./tests/fixtures/server-android.json",
        apps: [{
          name: 'demo',
          urls: [
          {
            src: '/',
            dest: '/index.html'
          },
          {
            src: '/js/main.js'
          },
          {
            src: '/css/style.css'
          }]
        }]
      }
    }
  });

  // Add to your imports.
  grunt.loadTasks( 'mixdown-publish' );

  // Default task(s).
  grunt.registerTask('default', ['mixdown-publish']);

};

Run

npm install grunt-cli -g
grunt mixdown-publish:android
npm loves you