Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-bell committed Feb 11, 2025
1 parent 59d25be commit b5f794e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/grader/Grader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ class Grader {
)

await this.copyStudentFiles('files')
await this.copyStudentFiles('testFiles')

await this.builder.buildClean()

Expand Down
2 changes: 1 addition & 1 deletion src/grader/builder/Builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export abstract class Builder {
let myOutput = ''
let myError = ''
try {
logger.log('hidden', `Running ${command}`)
logger.log('hidden', `Running ${command} ${args.join(' ')}`)
const returnCode = await exec(command, args, {
cwd: this.gradingDir,
silent: true,
Expand Down
3 changes: 2 additions & 1 deletion src/grader/builder/GradleBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ export default class GradleBuilder extends Builder {
await this.executeCommandAndGetOutput(
'./gradlew',
['clean', 'build'],
this.logger
this.logger,
true
)
}
}

0 comments on commit b5f794e

Please sign in to comment.