Skip to content

Commit

Permalink
Capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 29, 2012
1 parent 49e432a commit 4b3e338
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions scripts/build-debug.js
@@ -1,6 +1,6 @@
var EXEC = require("child_process").exec;
var exec = require("child_process").exec;

EXEC("make apfdebug", function (error, stdout, stderr) {
exec("make apfdebug", function (error, stdout, stderr) {
if (error) {
console.error(stderr);
process.exit(1);
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-packed.js
@@ -1,6 +1,6 @@
var EXEC = require("child_process").exec;
var exec = require("child_process").exec;

EXEC("make package", function (error, stdout, stderr) {
exec("make package", function (error, stdout, stderr) {
if (error) {
console.error(stderr);
process.exit(1);
Expand Down
6 changes: 3 additions & 3 deletions server.js
Expand Up @@ -2,7 +2,7 @@

var path = require('path');
var architect = require("architect");
var EXEC = require("child_process").exec;
var exec = require("child_process").exec;

// TODO: Need better args parser.

Expand All @@ -24,7 +24,7 @@ for (var p = 2; p < process.argv.length; p++) {

if(!path.existsSync("plugins-client/lib.apf/www/apf-packaged/apf_debug.js")) {
console.log("Building apfdebug for first run...");
EXEC("npm run-script build-debug", function (error, stdout, stderr) {
exec("npm run-script build-debug", function (error, stdout, stderr) {
if (error || stderr) {
console.error(stderr);
process.exit(1);
Expand All @@ -50,7 +50,7 @@ for (var p = 2; p < process.argv.length; p++) {
" /,`.-'`' -. ;-;;,_\n" +
" |,4- ) )-,_..;\\ ( `'-'\n" +
" '---''(_/--' `-'\\_) Felix Lee");
EXEC("npm run-script build-packed", function (error, stdout, stderr) {
exec("npm run-script build-packed", function (error, stdout, stderr) {
if (error || stderr) {
console.error(stderr);
process.exit(1);
Expand Down

0 comments on commit 4b3e338

Please sign in to comment.