Add 'production' command line argument for gulp for easier debugging

Bug #1507811 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Mark Webster
16.04
Fix Released
Medium
Unassigned

Bug Description

Adds 'yargs' and 'gulp-if' to allow the css to be compiled with
expanded comments for easier debugging.

Gulp Usage:
Running 'gulp' will behave the same as before this patch.
Running 'gulp --production false' will compile the css with
debug comments in place.

Make Usage:
Running 'make css' will behave as before.
Running 'make css production=false' will compile the css with
debug comments in place.

description: updated
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5554
Committed: https://git.mahara.org/mahara/mahara/commit/364c007ab9141ec21053246b53b2dac4b8f459f0
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 364c007ab9141ec21053246b53b2dac4b8f459f0
Author: Mark Webster <email address hidden>
Date: Mon Oct 19 16:11:07 2015 +0100

Adds 'production' command line argument for gulp and make (Bug 1507811)

Adds 'yargs' and 'gulp-if' to allow the css to be compiled with
expanded comments for easier debugging.

Gulp Usage:

Running 'gulp' will behave the same as before this patch.
Running 'gulp --production false' will compile the css with
debug comments in place.

Make Usage:

Running 'make css' will behave as before.
Running 'make css production=false' will compile the css with
debug comments in place.

behatnotneeded

Change-Id: I83fa35a9ac179b0419dc0160b58cac01b929734a

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/5730

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5730
Committed: https://git.mahara.org/mahara/mahara/commit/899bd43f9b5686396c5a92499ec463454e49ef0d
Submitter: Aaron Wells (<email address hidden>)
Branch: 15.10_STABLE

commit 899bd43f9b5686396c5a92499ec463454e49ef0d
Author: Mark Webster <email address hidden>
Date: Mon Oct 19 16:11:07 2015 +0100

Adds 'production' command line argument for gulp and make (Bug 1507811)

Adds 'yargs' and 'gulp-if' to allow the css to be compiled with
expanded comments for easier debugging.

Gulp Usage:

Running 'gulp' will behave the same as before this patch.
Running 'gulp --production false' will compile the css with
debug comments in place.

Make Usage:

Running 'make css' will behave as before.
Running 'make css production=false' will compile the css with
debug comments in place.

behatnotneeded

Change-Id: I83fa35a9ac179b0419dc0160b58cac01b929734a
(cherry picked from commit 364c007ab9141ec21053246b53b2dac4b8f459f0)

no longer affects: mahara/15.10
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.