/**
 * grunt/pipeline.js
 *
 * The order in which your css, javascript, and template files should be
 * compiled and linked from your views and static HTML files.
 *
 * (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions
 * for matching multiple files.)
 */



// CSS files to inject in order
//
// (if you're using LESS with the built-in default config, you'll want
//  to change `assets/styles/importer.less` instead.)
var cssFilesToInject = [
  'styles/**/*.css'
];


// Client-side javascript files to inject in order
// (uses Grunt-style wildcard/glob/splat expressions)
var jsFilesToInject = [
  
  // Load sails.io before everything else
  'js/dependencies/sails.io.js',

  // Dependencies like jQuery, or Angular are brought in here
  'js/dependencies/**/*.js',

  // All of the rest of your client-side js files
  // will be injected here in no particular order.
  'js/**/*.js'
];


// Client-side HTML templates are injected using the sources below
// The ordering of these templates shouldn't matter.
// (uses Grunt-style wildcard/glob/splat expressions)
//
// By default, Sails uses JST templates and precompiles them into
// functions for you.  If you want to use jade, handlebars, dust, etc.,
// with the linker, no problem-- you'll just want to make sure the precompiled
// templates get spit out to the same file.  Be sure and check out `tasks/README.md`
// for information on customizing and installing new tasks.
var templateFilesToInject = [
  'templates/**/*.html'
];



// Prefix relative paths to source files so they point to the proper locations
// (i.e. where the other Grunt tasks spit them out, or in some cases, where
// they reside in the first place)
module.exports.cssFilesToInject = cssFilesToInject.map(function(path) {
  return '.tmp/public/' + path;
});
module.exports.jsFilesToInject = jsFilesToInject.map(function(path) {
  return '.tmp/public/' + path;
});
module.exports.templateFilesToInject = templateFilesToInject.map(function(path) {
  return 'assets/' + path;
});

@@ -1769,38 +1769,45 @@
 ction(path) %7B%0A  
-return
+var tmpPath =
  '.tmp/public/' 
@@ -1797,32 +1797,130 @@
 = '.tmp/public/'
+;%0A  if (path.substring(0,1) == '!')%0A    return '!' + tmpPath + path.substring(1);%0A  return tmpPath
  + path;%0A%7D);%0Amod
@@ -1988,22 +1988,29 @@
 th) %7B%0A  
-return
+var tmpPath =
  '.tmp/p
@@ -2020,121 +2020,324 @@
 ic/'
- + path;%0A%7D);%0Amodule.exports.templateFilesToInject = templateFilesToInject.map(function(path) %7B%0A  return 'assets/'
+;%0A  if (path.substring(0,1) == '!')%0A    return '!' + tmpPath + path.substring(1);%0A  return tmpPath + path;%0A%7D);%0Amodule.exports.templateFilesToInject = templateFilesToInject.map(function(path) %7B%0A  var tmpPath = 'assets/';%0A  if (path.substring(0,1) == '!')%0A    return '!' + tmpPath + path.substring(1);%0A  return tmpPath
  + p
@@ -2324,29 +2324,28 @@
   return tmpPath + path;%0A%7D);
-%0A

fix grunt ignore