Permalink
Browse files

reorganization of extension directories

  • Loading branch information...
1 parent 330e743 commit 71de26292fe751c9e9b7aa341e62a22fb6217e07 @joelrbrandt joelrbrandt committed Mar 29, 2012
View
@@ -1,3 +1,8 @@
Thumbs.db
src/brackets.css
src/brackets.min.css
+
+# ignore everything in the user extension directory EXCEPT the README
+# (so that the directory is non-empty and can be in git)
+src/extensions-user/*
+!src/extensions-user/README
View
@@ -29,7 +29,7 @@ define(function (coreRequire, exports, module) {
// load extensions
extensionRequire = brackets.libRequire.config({
context: extensionDirs[i],
- baseUrl: "extensions/" + extensionDirs[i]
+ baseUrl: "extensions-default/" + extensionDirs[i]
});
console.log("starting to load " + extensionDirs[i]);
@@ -40,7 +40,7 @@ define(function (coreRequire, exports, module) {
}
// TODO: get the directories from NativeFileSystem rather than the low-level filesystem
- var extensionPath = window.location.pathname.substr(0, window.location.pathname.lastIndexOf("/")) + "/extensions";
+ var extensionPath = window.location.pathname.substr(0, window.location.pathname.lastIndexOf("/")) + "/extensions-default";
console.log("the extension path is: " + extensionPath);
function startLoading() {
File renamed without changes.
@@ -0,0 +1,4 @@
+Dummy file to make this directory non-empty so it can be added to git
+
+The contents of this directory are ignored so individual users
+can put extensions in here without checking them in to git

0 comments on commit 71de262

Please sign in to comment.