FLUID-5120: Implement the infusion build scripts with grunt

Metadata

Source
FLUID-5120
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2013-08-21T14:50:14.555-0400
Updated
2014-02-18T08:14:45.386-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Build Scripts

Description

Reimplement the infusion build scripts with grunt. To start with the new build scrips should have the same features as the existing ant based build scripts.

Feaures:

  • Minify js files
  • Concatenate js files
  • Create zip bundles
  • Generate UIO Themes
  • Rewrite URL's in demos/unit tests for relase testing
  • change URL's to point at the concatenated js file
  • Dependency Management
  • Include modules
  • Exclude modules

http://wiki.fluidproject.org/display/fluid/Grunt+based+build+scripts+planning

Comments

  • Justin Obara commented 2013-08-23T08:40:42.657-0400

    Justin's Branch:
    https://github.com/jobara/infusion/tree/FLUID-5120

  • Justin Obara commented 2014-01-31T15:16:18.939-0500

    We spoke in the channel today ( https://botbot.me/freenode/fluid-work/msg/10401793/ ) about how to handle the css generation step. Until we decide on a css precompiled, we will remove the css generation build step and commit the generatedcss files straight to the repo. A README will accompany them describing the generation step so that it can be reproduced with the css precompiler.

  • Justin Obara commented 2014-02-06T08:31:21.329-0500

    Submitted a pull request to switch from ant to grunt based builds:
    https://github.com/fluid-project/infusion/pull/461

    The functionality should be mostly the same with the following exceptions.

    1) css generation for the preference framework (This will be revived after a css preprocessor, less or sass, has been chosen, and the themes rewritten)

    2) url rewriting (This is used only for release testing. It is something that should be brought back in the future.)

    3) The names for the builds, as well as the command line arguments have also changed slightly.

  • Justin Obara commented 2014-02-18T08:14:35.388-0500

    Pull request ( https://github.com/fluid-project/infusion/pull/461 ) was merged into the project repo at ab2c0bf8cf0e4d22e7cd6979eaad132fb54b3fbb