Skip to content

Commit

Permalink
Created some helper scripts for running builds
Browse files Browse the repository at this point in the history
  • Loading branch information
davenicolette committed Dec 18, 2020
1 parent d42ab4a commit e890970
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pad
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Pad all lines of a text file to 80 characters plus newline
awk -F, '{printf("%80-s\n", $1)}' "$1" > "$2"
14 changes: 14 additions & 0 deletions run
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
# Run gradle build

if [ "$1" = "ut" ]; then
./gradlew test --tests com.neopragma.cobolcheck.*Test
elif [ "$1" = "it" ]; then
./gradlew test --tests com.neopragma.cobolcheck.*IT
else
./gradlew "$@"
fi




0 comments on commit e890970

Please sign in to comment.