瀏覽代碼

Remove helios-only dependencies from amber.

Herbert Vojčík 10 年之前
父節點
當前提交
46758ef8f7
共有 3 個文件被更改,包括 3 次插入4 次删除
  1. 1 0
      CONTRIBUTING.md
  2. 0 2
      bower.json
  3. 2 2
      config.js

+ 1 - 0
CONTRIBUTING.md

@@ -77,6 +77,7 @@ To get your clone, follow this list:
   - requires bower to be installed via ```npm install -g bower```.
 4. Get your copy of Helios IDE, depending if you have your fork or want to use stock version:
   ```git clone git@github.com:<amber-smalltalk | your username>/helios.git my/helios```.
+4. Install its dependencies: ```cd my/helios && bower install && cd ../..```.
 5. Install the cli tool: ```npm install -g amber-cli```.
 6. Run ```amber config```.
 6. Run ```amber serve```.

+ 0 - 2
bower.json

@@ -15,11 +15,9 @@
   "dependencies": {
     "jquery": ">=1.7.0",
     "jquery-ui": ">=1.9.2",
-    "bootstrap2.3.2": "~2.3.2",
     "jquery-tabby": "git://github.com/alanhogan/Tabby",
     "es5-shim": "~3.3.0",
     "codemirror": "~3.24.0",
-    "showdown": "~0.3.1",
     "require-css": "~0.1.2"
   }
 }

+ 2 - 2
config.js

@@ -30,8 +30,8 @@ require.config({
       "bower_components/jquery/jquery.min"
     ],
     "require-css": "bower_components/require-css",
-    "bootstrap2.3.2": "bower_components/bootstrap2.3.2/bootstrap",
-    "amber_lib/showdown": "bower_components/showdown"
+    "bootstrap2.3.2": "my/helios/bower_components/bootstrap2.3.2/bootstrap",
+    "amber_lib/showdown": "my/helios/bower_components/showdown"
   },
   "shim": {
     "ensure-console": {