Files
openide/plugins/textmate/loadVSCBundles.sh
Dennis Ushakov c6a717b57d open source textmate support
GitOrigin-RevId: 7616fa75678f55d7260129791edfabd1dcb627a4
2019-06-16 05:25:42 +03:00

29 lines
500 B
Bash
Executable File

#! /bin/bash
set -o errexit
ROOT=$PWD
rm -rf temp
mkdir temp
if [ ! -d lib/bundles ]; then
mkdir lib/bundles
fi
cd temp
git clone https://github.com/Microsoft/vscode
# cp -r /Users/denofevil/WebstormProjects/vscode .
cd vscode/extensions
for f in *; do
if [ -d "$f/syntaxes" ]; then
echo "Adding $f"
cp -r "$f" "$ROOT/lib/bundles"
rm -rf "$ROOT/lib/bundles/$f/test"
rm -rf "$ROOT/lib/bundles/$f/build"
rm -rf "$ROOT/lib/bundles/$f/resources"
fi
done
rm -rf $ROOT/temp