Skip to content

Commit f7e2a3b

Browse files
author
Elviro Rocca
committed
Single runSourcery.sh bash script
1 parent 7c0b715 commit f7e2a3b

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

sourceryTests.sh renamed to runSourcery.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
echo "Checking for Sourcery..."
44

5-
if [ -f "Sourcery/sourcery" ]; then
5+
if [ -f "Sourcery/sourcery" ]
6+
then
7+
echo "Generating source files: Sources/Abstract + Templates/Sources -> Sources/Abstract/Generated"
8+
9+
./Sourcery/sourcery --sources Sources/Abstract --templates Templates/Sources --output Sources/Abstract/Generated
10+
611
echo "Generating test files: Sources/Abstract + Templates/Tests -> Tests/AbstractTests"
712

813
./Sourcery/sourcery --sources Sources/Abstract --templates Templates/Tests --output Tests/AbstractTests
@@ -24,7 +29,6 @@ if [ -f "Sourcery/sourcery" ]; then
2429
echo "Generating utility files for tests: Sources/Abstract + Templates/Other -> Tests/AbstractTests/Utility"
2530

2631
./Sourcery/sourcery --sources Sources/Abstract --templates Templates/Other --output Tests/AbstractTests/Utility
27-
2832
else
2933
echo "Sourcery is not installed, ignoring."
3034
fi

sourceryAll.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

sourcerySources.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)