steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
663 stars 1.7k forks source link

Add Grunt support #48

Closed codewithtyler closed 9 years ago

codewithtyler commented 9 years ago

Since we are looking to use Travis CI in the future. I think it would be a good idea to add Grunt to our project since it's supported by Travis CI.

I've already began the process of recreating the Gulp tasks using Grunt. While working on this I'm also in the process of creating a way to automatically update the version numbers of files when it's time to do a release. I'm thinking that I may implement it so that a release can be created via the CLI like so:

grunt release // Default patch release grunt release:minor // Minor release

What does everyone else think? Are you ok with using this syntax in order to perform a release? My end goal is for it to update the version numbers of the following files:

codewithtyler commented 9 years ago

I've implemented the release feature. I still need to test my watch task and work out a bug with the htmllint task (found a bug in the npm module).

codewithtyler commented 9 years ago

I've just tested the watch task and it works perfectly. Now that that's remaining is working out the bug with the htmllint task.

codewithtyler commented 9 years ago

I went ahead and removed the htmllint task for now. If we want to lint our HTML files we'll need to use gulp until the bug gets fixed. I have an issue open on the module's repo. I'll update the grunt file when it has been fixed.