Skip to content

Feature/load from GitHub #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 2, 2020
Prev Previous commit
add package script
  • Loading branch information
ShMcK committed Apr 2, 2020
commit ec43b10621bb24884eedd819cf87f6bbc1434ec1
17 changes: 17 additions & 0 deletions scripts/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# This script exists because certain dependencies
# seem to fail to be installed.

PACKAGE_VERSION=$(grep 'version' package.json \
| cut -d '"' -f4)

# echo "Packaging Extension..."
vsce package

# echo "Installing Extension..."
code --install-extension coderoad-$PACKAGE_VERSION.vsix

# echo "Installing Additional Deps..."
cd ~/.vscode/extensions/coderoad.coderoad-$PACKAGE_VERSION
npm install