commonplace
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -166,5 +166,7 @@ var child_process = require('child_process'); | ||
var ignores = (info.manifest(local_src) || {}).ignore || []; | ||
ignores.push('templates/hello.html'); | ||
ignores.push('media/js/views/hello_world.js'); | ||
function update_file(file) { | ||
var base_path = file.replace(commonplace_src, '').substr(1); | ||
var base_path = path.relative(commonplace_src, file); | ||
if (ignores.indexOf(base_path) !== -1) { | ||
@@ -287,8 +289,8 @@ console.warn('Not updating file (ignored): ' + base_path); | ||
'_tmp', | ||
'src/templates.js', | ||
'src/media/imgurls.txt', | ||
'src/media/css/include.css', | ||
'src/media/js/include.js', | ||
'src/media/locales/', | ||
'src/locales/' | ||
'templates.js', | ||
'media/imgurls.txt', | ||
'media/css/include.css', | ||
'media/js/include.js', | ||
'media/locales/', | ||
'locales/' | ||
]; | ||
@@ -721,2 +723,7 @@ targets.forEach(function(filePath) { | ||
function callback_clean() { | ||
// Copy `.dist` files to their destinations. | ||
init(proj_src, callback_init); | ||
} | ||
function callback_init() { | ||
// Compile the assets for the project. | ||
@@ -723,0 +730,0 @@ build_includes(proj_src, callback_includes); |
{ | ||
"name": "commonplace", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "url": "git://github.com/mozilla/commonplace.git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
869821
11720