-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Fail script if any command fails | ||
set -e | ||
|
||
# Compile language server and dialect jars | ||
cd server | ||
mvn clean package --no-transfer-progress | ||
cd - | ||
|
||
# Copy jars | ||
cp server/dialect-daco/target/dialect-daco.jar clients/daco-dialect-support/server/jar | ||
cp server/dialect-idms/target/dialect-idms.jar clients/idms-dialect-support/server/jar | ||
cp server/engine/target/server.jar clients/cobol-lsp-vscode-extension/server/jar | ||
|
||
# Compile dialect api | ||
cd clients/cobol-dialect-api | ||
npm ci | ||
npm run compile | ||
cd - | ||
|
||
# Build COBOL LS extension | ||
cd clients/cobol-lsp-vscode-extension | ||
npm ci | ||
npm run package | ||
cd - | ||
|
||
# Build IMDS LS extension | ||
cd clients/idms-dialect-support | ||
npm ci | ||
npm run package | ||
cd - | ||
|
||
# Build DACO LS extension | ||
cd clients/daco-dialect-support | ||
npm ci | ||
npm run package | ||
cd - | ||
|
||
# Done | ||
echo "Done building COBOL LS" |