NOTES
----------------------------------------------------------------------------------------------------------------------------------

-- When adding new entities to model, be sure to look at modelController's -noteManagedObjectChanged: method to see if we need to sync them to the project settings file!
-- When adding new attributes to LPFile subclasses, be sure to set default values in the model editor! Otherwise, project settings serialization will crash!

Less
----------------------------------------------------------------------------------------------------------------------------------

-- Change the require path for ycssmin around line 430:

	      return require('../../CKDependencies/ycssmin/cssmin.js').cssmin(css);

Uglify.js
----------------------------------------------------------------------------------------------------------------------------------

-- Must manually update version number in LPCompiler, as Uglify.js has no --version command.

Compass
----------------------------------------------------------------------------------------------------------------------------------

-- Add the following to the top of the compass command line executable in /bin:

	#
	#  Additions by Bryan Jones to make Compass work from the CodeKit app bundle:
	#
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../scss/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../scss/lib')
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../chunkypng/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../chunkypng/lib')
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../oilypng/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../oilypng/lib')
	#  Next two lines make the CSS part of the -Stats command work
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../cssparser/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../cssparser/lib')
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../addressable/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../addressable/lib')

Bless
----------------------------------------------------------------------------------------------------------------------------------

-- in /bin/blessc:

	1) Line 8 must read:
			var bless = require('../lib/bless/index.js');

Stylus
----------------------------------------------------------------------------------------------------------------------------------

-- In /lib/middleware.js:

	1)  the path in the require() statement for mkdirp (line 16) must be:
			 , mkdirp = require('../../mkdirp/index.js')

	2) the path in the require() statement for debug (line 18) must be:
			  , debug = require('../../debug/index.js')('stylus:middleware');

-- In /lib/visitor/evaluator.js:

	1) the path in the require() statement for debug (line 23) must be:
			  , debug = require('../../../debug/index.js')('stylus:evaluator')

-- In /lib/parser.js

	1) Line 21 must read:
			    lexer: require('../../debug/index.js')('stylus:lexer')

	2) Line 22 must read:
			   , selector: require('../../debug/index.js')('stylus:parser:selector')

Jade
----------------------------------------------------------------------------------------------------------------------------------

***** NOTE: remember that TJ renamed --obj to --options and I undid that change in the Jade executable because it produced an error with Commander.js
                       hopefully this gets fixed in the next go-round, which means that LPEngineJade will need updating to use the --options flag!

-- In /bin/jade:

	1) the path in the require() statement for commander (line 8) must be:
			  , program = require('../../commander/commander.js')

	2) comment-out the "require monocle" line (line 15)
	
	3) the path in the require() statement for mkdirp (line 16) must be:
			  , mkdirp = require('../../mkdirp')

-- In /lib/compiler.js

	1) the path in the require() statement for character-parser (line 18) must be:
 			 , parseJSExpression = require('../CKDependencies/character-parser/index.js').parseMax

-- in lib/lexer.js

	1) the path in the require() statement for character-parser (line 8) must be:
			var parseJSExpression = require('../CKDependencies/character-parser/index.js').parseMax;

-- in /lib/filters.js:

//
//   NOTE: some of these lines may change in future releases, as they're more than just require() statements. Copy ONLY THE PATH INSIDE THE 
//                REQUIRE STATEMENT from each line! The rest is just there to help identify the line that needs to change. Don't rely on line numbers, as those too may vary.
//

	1) Stylus filter require statement, line 39:
			    var stylus = require('../../stylus/index.js');

	2) Less filter require statement, line 54:
			    require('../../less/lib/less/index.js').render(str, function(err, css){

	3) Markdown filter require statement, line 70:
      			    md = require('../../markdown/lib/index.js');

	4) CoffeeScript filter require statement, line 97:
			    var js = require('../../coffee/lib/coffee-script/index.js').compile(str).replace(/\\/g, '\\\\').replace(/\n/g, '\\n');

Slim
----------------------------------------------------------------------------------------------------------------------------------

-- Add these lines to the top of the SLIM executable in /bin:

	# Addition by Bryan Jones to make SLIM work from the CodeKit app bundle:
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../temple/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../temple/lib')
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../tilt/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../tilt/lib')

Haml
----------------------------------------------------------------------------------------------------------------------------------

-- Add these lines to the top of the HAML executable in /bin:

	# Addition by Bryan D K Jones to make Haml file the rdiscount gem installed in the CodeKit bundle
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../CKDependencies/rdiscount/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../CKDependencies/rdiscount/lib')
	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../tilt/lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../../tilt/lib')

JSHint
----------------------------------------------------------------------------------------------------------------------------------

-- add the following line to the top of the file:

	var window = {};

** This may not be needed in future versions, but was needed as of 2.1.0.

Bourbon
----------------------------------------------------------------------------------------------------------------------------------

-- In /lib/bourbon/generator, replace the "require 'thor'" line (line 3) with:

	require File.dirname(__FILE__) + '/../../../thor/lib/thor.rb'

-- In the same file, add this line:

	require File.dirname(__FILE__) + '/../../../../scss/lib/sass.rb'

-- In /app/assets/stylesheets:

	Create a new folder named "bourbon" and then copy (duplicate) ALL contents of the 'stylesheets' folder into this new folder.
	(This allows a user to do @import 'bourbon' or @import 'bourbon/bourbon' in his stylesheets)

Thor       (Bourbon Dependency)
----------------------------------------------------------------------------------------------------------------------------------

-- Add these lines to the top of the Thor executable in /bin:

	# Addition by Bryan Jones to make this work from within the CodeKit app bundle:
	require File.dirname(__FILE__) + '/../lib/thor'

-- Add these lines to the top of /lib/thor.rb:

	# Addition by Bryan Jones to make Thor work from the CodeKit Application bundle
	dir = File.dirname(__FILE__)
	$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)