Преглед на файлове

Merge branch 'master' of github.com:amber-smalltalk/amber

Nicolas Petton преди 10 години
родител
ревизия
65ae355432
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 1 1
      cli/support/amberc-cli.js
  2. 4 0
      cli/support/release.sh

+ 1 - 1
cli/support/amberc-cli.js

@@ -16,7 +16,7 @@ if (1 > parameters.length) {
 
 // Get Amber root directory from the location of this script so that
 // we can find the st and js directories etc.
-var amber_dir = path.normalize(path.join(path.dirname(process.argv[1]), '..'));
+var amber_dir = path.normalize(path.join(path.dirname(process.argv[1]), '..', '..'));
 
 var compiler = new amberc.Compiler(amber_dir);
 

+ 4 - 0
cli/support/release.sh

@@ -1,4 +1,8 @@
 #!/bin/sh
+
+# ATTENTION: Be logged into npm before running this script,
+# as a user with write access to amber npm package.
+
 cd `dirname "$0"`/../..
 echo rm -rf *
 echo git checkout master