Extensions have a src and specs directory now. Move existing extension specs.

Move the extensions spec code inside of the extension's spec directory. Move source code to the extension's src directory
This commit is contained in:
Corey Johnson
2012-10-25 11:45:58 -07:00
parent 6870f21ca5
commit 2af29c9934
68 changed files with 346 additions and 84 deletions

View File

@@ -74,7 +74,7 @@ windowAdditions =
throw new Error("Extension '#{name}' does not exist at path '#{extensionPath}'") unless fs.exists(extensionPath)
extension = rootView.activateExtension(require(extensionPath), config)
extensionKeymapPath = fs.join(fs.directory(extensionPath), "keymap.coffee")
extensionKeymapPath = fs.join(fs.directory(extensionPath), "src/keymap.coffee")
require extensionKeymapPath if fs.exists(extensionKeymapPath)
extension
catch e