Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
scripts: Stop renaming system folders in build.js
Browse files Browse the repository at this point in the history
The folder name doesn't matter anymore and most devs have migrated by now
  • Loading branch information
elisee committed Jan 27, 2016
1 parent c368057 commit c65f162
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@ try {
}
}

// Rename system folders
var oldNames = ["supGame", "supWeb", "markSlide"];
var newNames = ["game" , "web" , "markslide"];
for (var i = 0; i < oldNames.length; i++) {
var oldSystemPath = rootPath + "/systems/" + oldNames[i];
if (!fs.existsSync(oldSystemPath) || !fs.statSync(oldSystemPath).isDirectory()) continue;

var newSystemPath = rootPath + "/systems/" + newNames[i];
fs.renameSync(oldSystemPath, newSystemPath);
}

var async = require("async");
var getBuildPaths = require("./getBuildPaths");
var buildPaths = getBuildPaths(rootPath);
Expand Down

0 comments on commit c65f162

Please sign in to comment.