Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilrajput03 authored Aug 19, 2022
1 parent 5798120 commit 29110d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ module.exports = {
files?: string[]; // Files, directories or glob patterns to watch for changes. (defaults to `[config.paths.sources]`, which itself defaults to the `contracts` dir)
ignoredFiles?: string[]; // Files, directories or glob patterns that should *not* be watched.
verbose?: boolean; // Turn on for extra logging
clearOnStart?: boolean; // Turn on to clear the logs (of older task runs) each time before running the task
start?: string; // Run any desirable command each time before the task runs
}
}
};
Expand Down Expand Up @@ -80,6 +82,8 @@ module.exports = {
files: ['./contracts'],
ignoredFiles: ['**/.vscode'],
verbose: true,
clearOnStart: true,
start: 'echo Running my compilation task now..'
},
ci: {
tasks: [
Expand Down Expand Up @@ -130,7 +134,9 @@ module.exports = {
test: {
tasks: [{ command: 'test', params: { testFiles: ['{path}'] } }],
files: ['./test/**/*'],
verbose: true
verbose: true,
clearOnStart: true,
start: 'echo Running my test task now..',
}
}
}
Expand Down

0 comments on commit 29110d7

Please sign in to comment.