Explorar el Código

- Renames cli/js to cli/src
- updates cli/index.html
- updates cli/support/setversion.sh

Nicolas Petton hace 10 años
padre
commit
9a9b090a0c
Se han modificado 4 ficheros con 3 adiciones y 4 borrados
  1. 1 2
      cli/index.html
  2. 0 0
      cli/src/AmberCli.js
  3. 0 0
      cli/src/AmberCli.st
  4. 2 2
      cli/support/setversion.sh

+ 1 - 2
cli/index.html

@@ -14,8 +14,7 @@
     <script type='text/javascript'>
     require.config({
         paths: {
-            'amber_cli': 'js',
-            'amber_cli/_source': 'st'
+            'amber_cli': 'src'
         }
     });
     require(

+ 0 - 0
cli/js/AmberCli.js → cli/src/AmberCli.js


+ 0 - 0
cli/st/AmberCli.st → cli/src/AmberCli.st


+ 2 - 2
cli/support/setversion.sh

@@ -4,7 +4,7 @@ VERSION=$1
 cd `dirname "$0"`/../..
 AMBER_BASE=`pwd`
 
-cd $AMBER_BASE/st
+cd $AMBER_BASE/src
 # replace version number
 cp Kernel-Infrastructure.st Kernel-Infrastructure.st.bak
 sed -e "/^version\$/,/^\! \!\$/ s/\^ '[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-pre\)\{0,1\}'\$/^ '$VERSION'/" Kernel-Infrastructure.st.bak >Kernel-Infrastructure.st
@@ -12,7 +12,7 @@ rm Kernel-Infrastructure.st.bak
 
 # compile Kernel-Infrastructure
 cd $AMBER_BASE
-bin/amberc -D js -l Kernel-Objects,Kernel-Collections st/Kernel-Infrastructure.st
+bin/amberc -D js -l Kernel-Objects,Kernel-Collections src/Kernel-Infrastructure.st
 # set version in all json files (bower, npm)
 for F in *.json; do
   cp $F $F.bak