Make each run config use its own subfolder and add 'run-data' to .gitignore (#7)
This commit is contained in:
parent
303e6e548c
commit
378bff4509
2 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -20,3 +20,4 @@ build
|
|||
# other
|
||||
eclipse
|
||||
run
|
||||
run-data
|
|
@ -62,7 +62,7 @@ minecraft {
|
|||
runs {
|
||||
// applies to all the run configs below
|
||||
configureEach {
|
||||
workingDirectory project.file('run')
|
||||
workingDirectory project.file("run/${it.name}")
|
||||
|
||||
// Recommended logging data for a userdev environment
|
||||
// The markers can be added/remove as needed separated by commas.
|
||||
|
@ -101,8 +101,8 @@ minecraft {
|
|||
}
|
||||
|
||||
data {
|
||||
// example of overriding the workingDirectory set in configureEach above
|
||||
workingDirectory project.file('run-data')
|
||||
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
|
||||
// workingDirectory project.file('run-data')
|
||||
|
||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
||||
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
|
|
Loading…
Reference in a new issue