Convert build scripts to use grunt for minification task

Description

We are in the process of converting the ant based build scripts to grunt. In this step we should replace the current yui based minification task with one based on grunt and uglify. Until the entire build script is converted to use grunt, we should drive the grunt tasks with ant.

In addition to modifying the ant script and setting up the grunt task we will need to setup npm to install the necessary dependencies and add this as well to part of our build process.

grunt: http://gruntjs.com
uglify plugin: https://npmjs.org/package/grunt-contrib-uglify

Environment

None

Activity

Show:

Justin Obara March 2, 2014 at 7:30 PM

Resolved with

Justin Obara August 14, 2013 at 8:16 PM
Edited

My branch:
https://github.com/jobara/infusion/compare/FLUID-5100

The above branch has now be incorporated into the following:
https://github.com/jobara/infusion/tree/FLUID-5120

Justin Obara August 14, 2013 at 8:16 PM

At todays community meeting it was decided that, at least for the time being, we would start the grunt build scripts from scratch.

Anastasia Cheetham August 7, 2013 at 8:03 PM

We discussed this process at the Aug. 7, 2013 Community Workshop. We stumbled a bit at the point of removing the existing ant-based minification from the existing scripts. A bit of further discussion in the channel (un-logged) narrowed our choices down to: continue to try to migrate the build process, one task at a time, over to grunt, or b) start fresh with a grunt-only version.

Concerns over the grunt-only version included time: we're working on this an hour at a time.

Justin Obara July 25, 2013 at 11:56 AM

Can look at the video player (https://github.com/fluid-project/videoPlayer) for inspiration on setting up grunt.

Fixed

Details

Assignee

Reporter

Components

Priority

Created July 25, 2013 at 11:51 AM
Updated March 2, 2014 at 7:30 PM
Resolved March 2, 2014 at 7:30 PM