Skip to content

dogescript/grunt-dogescript

Repository files navigation

grunt-dogescript

wow plugin so dogescript

Build Status Dependency Status NPM version

wow

 compile dogescript  
                     many codes 
           many syntax
     wow 
               much beauty
                           amaze builds
                                   doge luv hoge         

Getting Started

This plugin requires Grunt ~0.4.1

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-dogescript --save-dev

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

grunt.loadNpmTasks('grunt-dogescript');

The "dogescript" task

Default Options

grunt.initConfig({
	dogescript: {
		amaze: {
			options: {
				// optional beautify
				// - default: true
				beauty: true,

				// optional enable true-doge mode
				// - default: false
				trueDoge: true,

				// optional override compiler (handy for bleeding-edge/local editing)
				// - string path, included via require() 
				compiler: path.resolve('../dogescript/index.js')
			},
			src: ['lib/doge.djs']
		}
	}
})

History

  • 2.4.0 - support dogescript 2.4.0
  • 0.5.2 - moved to dogescript org
  • 0.5.1 - added licence note to README
  • 0.5.0 - dogescript v2.3.0, task rewritten in dogescript
  • 0.4.0 - dogescript v2.2.0, dropped deprecated dependencies (thanks @shinnn)
  • 0.3.0 - dogescript v2.1.0, add trueDoge option
  • 0.2.1 - add compiler option
  • 0.2.0 - dogescript v1.4.0
  • 0.1.2 - much improve
  • 0.1.0 - doge first release

Contributing

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

License

Copyright (c) 2014 Bart van der Schoor

Licensed under the MIT license.