Skip to content

digisfera/grunt-minifykr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-minifykr

Grunt plugin to concatenate and minify krpano XML files

No tests, shamefully.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-minifykr

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-minifykr');

Documentation

minifykr: {
  test1: "main_pt.xml",
  test2: [ "main_pt.xml", "main_en.xml" ],
  test3: { inputFile: "main_pt.xml", outputFile: "zzz.xml"},
  test4: { inputFile: "main_pt.xml", outputFile: "zzz.xml", encrypt: false },
  test4: { inputFile: "main_pt.xml", outputFile: "zzz.xml", minify: false },
  test5: { inputFile: "main_pt.xml", outputFile: "zzz.xml", encrypt: true },
  test6: [ { inputFile: "main_pt.xml", outputFile: "zzz.xml", encrypt: true }, { inputFile: "main_en.xml", outputFile: "zzz_en.xml", encrypt: false } ],
  test7: [ { inputFile: "main_pt.xml" }, { inputFile: "main_en.xml", encrypt: false } ]
}

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Manuel Cabral
Licensed under the MIT license.

About

Grunt task to call minifykr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published