Browse Source

sdk dir rename: amber-dev => sdk

Herby Vojčík 6 years ago
parent
commit
463414af5f

+ 1 - 1
.travis.yml

@@ -10,7 +10,7 @@ install:
   - npm install
   - cd external/amber-cli
   - npm install
-  - cd ../amber-dev
+  - cd ../sdk
   - npm install
   - cd ../..
 script:

+ 1 - 1
CONTRIBUTING.md

@@ -18,7 +18,7 @@ To get your clone, follow this list:
 Go into cloned amber directory (`<project-path>/amber`).
 1. Install the tools: ```npm install -g amber-cli```.
 1. Run ```npm install``` to install dependencies listed in package.json. Used by development tools. See [here](https://www.npmjs.org/doc/cli/npm-install.html) for more info.
-1. Run ```cd external/amber-dev && npm install && cd ../..``` to install dependencies of `amber-dev` component.
+1. Run ```cd external/sdk && npm install && cd ../..``` to install dependencies of `sdk` component.
 1. Get your copy of Helios IDE into directory `<project-path>/helios`, choosing among using your own fork / using the stock version:
     - ```git clone git@lolg.it:<your username>/helios.git ../helios``` to use your own fork, or
     - ```git clone git@lolg.it:amber/helios.git ../helios``` to use stock version.

+ 6 - 6
Gruntfile.js

@@ -7,9 +7,9 @@ module.exports = function (grunt) {
     grunt.loadNpmTasks('grunt-exec');
 
     grunt.loadTasks('./internal/grunt-tasks');
-    grunt.loadTasks('./external/amber-dev/tasks');
+    grunt.loadTasks('./external/sdk/tasks');
 
-    var helpers = require('./external/amber-dev').helpers;
+    var helpers = require('./external/sdk').helpers;
 
     grunt.registerTask('default', ['peg', 'build:all']);
     grunt.registerTask('build:all', ['amberc:amber', 'build:cli', 'amberc:dev']);
@@ -62,8 +62,8 @@ module.exports = function (grunt) {
                 amd_namespace: 'amber_cli'
             },
             dev: {
-                output_dir: 'external/amber-dev/lib',
-                src: ['external/amber-dev/lib/NodeTestRunner.st'],
+                output_dir: 'external/sdk/lib',
+                src: ['external/sdk/lib/NodeTestRunner.st'],
                 amd_namespace: 'amber_devkit'
             }
         },
@@ -140,8 +140,8 @@ module.exports = function (grunt) {
         jshint: {
             amber: ['src/*.js', 'support/*.js'],
             cli: ['external/amber-cli/src/*.js', 'external/amber-cli/support/*.js'],
-            dev: ['external/amber-dev/lib/*.js'],
-            grunt: ['Gruntfile.js', 'internal/grunt-tasks/*.js', 'external/amber-dev/tasks/*.js']
+            dev: ['external/sdk/lib/*.js'],
+            grunt: ['Gruntfile.js', 'internal/grunt-tasks/*.js', 'external/sdk/tasks/*.js']
         }
     });
 };

+ 1 - 1
README.md

@@ -77,7 +77,7 @@ What this repo contains and what it does not
 --------------
 
 It must be noted this repo contains only core functionality of Amber system
-as well as accompanying tooling (`amber-dev` and `amber-cli`).
+as well as accompanying tooling (`sdk` and `amber-cli`).
 
 The initial project comes with some libraries (`amber/web`, `domite`, `silk` etc.)
 included; these libraries are not part of this repo, though. You can find them either in

+ 0 - 0
external/amber-dev/index.js → external/sdk/index.js


+ 0 - 0
external/amber-dev/lib/NodeTestRunner.js → external/sdk/lib/NodeTestRunner.js


+ 0 - 0
external/amber-dev/lib/NodeTestRunner.st → external/sdk/lib/NodeTestRunner.st


+ 0 - 0
external/amber-dev/lib/amberc.js → external/sdk/lib/amberc.js


+ 0 - 0
external/amber-dev/lib/config.js → external/sdk/lib/config.js


+ 0 - 0
external/amber-dev/lib/helpers.js → external/sdk/lib/helpers.js


+ 0 - 0
external/amber-dev/lib/without-imports.js → external/sdk/lib/without-imports.js


+ 0 - 0
external/amber-dev/package.json → external/sdk/package.json


+ 0 - 0
external/amber-dev/tasks/grunt-amberc.js → external/sdk/tasks/grunt-amberc.js


+ 0 - 0
external/amber-dev/tasks/grunt-amdconfig.js → external/sdk/tasks/grunt-amdconfig.js


+ 1 - 1
internal/release-worker.sh

@@ -7,7 +7,7 @@ git reset --hard
 git checkout master
 git clean -d -x -f
 npm install
-cd external/amber-dev
+cd external/sdk
 npm install
 cd ../..
 echo -n "Which version are you going to publish [0 to skip]? "