Skip to content

Commit 95aa572

Browse files
committed
Updated docs.
1 parent 2720827 commit 95aa572

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is my code suite, including homemade build and run tools and testing librar
77
Add methods to an existing .java file and tests in the class's `main()` method (using the Tester class for test utilities - see example main() methods in existing files)
88

99
### Creating a new Java Class & Tests
10-
Create a new .java file/class with `package com.cunningdj.grokJava` at the top and do the same.
10+
Create a new .java file/class with `package com.cunningdj.grokJava` at the top (or whatever you'd like to set the `DEFAULT_PACKAGE_NAME`](https://github.com/CunningDJ/grokJava/blob/master/gtool#L5) to) and do the same.
1111

1212

1313
## `gtool` - Home Made Clean, Build & Run Tool

gtool

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ cd $sd
1212

1313
function clean() {
1414
log "Cleaning $CLASSFILES_DIR/ ..."
15-
rm -r $CLASSFILES_DIR
15+
if [[ -d $CLASSFILES_DIR ]]; then
16+
rm -r $CLASSFILES_DIR
17+
fi
1618
}
1719

1820
function build() {

0 commit comments

Comments
 (0)