Browse Source

bump amber-dev to 0.7.0; related changes

Herbert Vojčík 9 years ago
parent
commit
a7ab5dca2d
3 changed files with 7 additions and 3 deletions
  1. 2 2
      root/Gruntfile.js
  2. 4 0
      root/uninstall.html
  3. 1 1
      template.js

+ 2 - 2
root/Gruntfile.js

@@ -29,7 +29,7 @@ module.exports = function (grunt) {
         amberc: {
             options: {
                 amber_dir: path.join(__dirname, "bower_components", "amber"),
-                library_dirs: ['src', 'bower_components/amber/contrib/src']
+                configFile: "config.js"
             },
             all: {
                 src: [
@@ -37,7 +37,7 @@ module.exports = function (grunt) {
                     'src/{%= name %}-Tests.st' // list all tests in dependency order
                 ],
                 amd_namespace: '{%= namespace %}',
-                libraries: ['SUnit', 'Web']
+                libraries: ['amber_core/SUnit', 'amber/web/Web', 'silk/Silk']
             }
         },
 

+ 4 - 0
root/uninstall.html

@@ -42,6 +42,10 @@
           from your CLI.</li>
       <li>You cannot remove just the <code>DOMite</code> DOM wrapper
           and retain the Silk package, as it depends on <code>domite</code>.</li>
+      <li>Your <code>Gruntfile.js</code> may contain references
+          to <code>Web</code> and/or <code>Silk</code> in <code>libraries</code>
+          field(s). Fix those fields to not contain non-existing libraries (optionally
+          add other needed ones, like <code>domite</code> or <code>Wrappers-JQuery</code>).</li>
       <li>As the last step, make sure the dependency tree is in a correct state
           by recreating it: first delete your <code>bower_components</code> folder,
           then run <code>bower install</code> from your CLI.</li>

+ 1 - 1
template.js

@@ -116,7 +116,7 @@ exports.template = function (grunt, init, done) {
         // A few additional properties.
         props.keywords = ['Amber', 'Smalltalk'];
         props.devDependencies = {
-            "amber-dev": "^0.6.0",
+            "amber-dev": "^0.7.0",
             "grunt": "^0.4.5",
             "grunt-contrib-clean": "^0.6.0",
             "grunt-contrib-requirejs": "^0.4.4",