Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 45... Línea 45...
45
cp -v $SUB_DIR/LICENSE ../amd/src/beautify/LICENSE
45
cp -v $SUB_DIR/LICENSE ../amd/src/beautify/LICENSE
Línea 46... Línea 46...
46
 
46
 
47
# Remove the temporary directory, node_modules directory and the js-beautify zip.
47
# Remove the temporary directory, node_modules directory and the js-beautify zip.
Línea 48... Línea 48...
48
rm -rf $TEMP_DIR
48
rm -rf $TEMP_DIR
49
 
-
 
Línea -... Línea 49...
-
 
49
 
-
 
50
packages=($(npm list --json | jq -r '.dependencies | to_entries[] | select(.key | startswith("codemirror") or startswith("@codemirror")) | .key'))
-
 
51
 
-
 
52
for package in "${packages[@]}"
-
 
53
do
-
 
54
  version=`npm --json ls $package | jq -r '.dependencies."'$package'".version'`
-
 
55
  echo "Version of $package: $version"
50
echo 'Code mirror version: ' $(npm --json ls  codemirror | jq -r '.dependencies.codemirror.version')
56
done
51
echo 'Beautify version:' $(curl -s $API_URL | jq -r '.tag_name')
57
echo 'Beautify version:' $(curl -s $API_URL | jq -r '.tag_name')