Skip to content
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

vscode extension: updates to calling external processes #322

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vs code extension/Cobol-check/cobolcheck
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
java -jar bin/cobol-check-0.1.0.jar $@
java -jar bin/cobol-check-*.jar $@
2 changes: 1 addition & 1 deletion vs code extension/Cobol-check/cobolcheck.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
java -jar bin\cobol-check-0.1.0.jar %*
java -jar bin\cobol-check-*.jar %*
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh
# Linux - compile and execute a test Cobol program
# Linux / OSX / BSD or similar - compile and execute a test Cobol program
#
# Assumptions:
#
# GnuCOBOL 2.2 or later is installed and on the path. Its executable or alias or symlink is named "cobc".
# GnuCOBOL 2.2 or later is installed and on the path.
# Its executable or alias or symlink is named "cobc".

cobc -x $@
name=$(echo "$1" | cut -f 1 -d '.')
"${name}"
cobc -xj $@
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@echo off
rem Windows - compile and execute a test Cobol program
rem
rem Assumptions:
rem
rem GnuCOBOL 3.+ is installed and on the path. Its executable or alias or symlink is named "cobc".
:: Windows - compile and execute a test Cobol program
::
:: Assumptions:
::
:: GnuCOBOL 2.2 or later is installed and on the path.
:: Its executable or alias or symlink is named "cobc".

cobc -x %* && %~n1
cobc -xj %* && %~n1
Loading