21 lines
685 B
Groovy
21 lines
685 B
Groovy
plugins {
|
|
id 'base'
|
|
id 'net.fabricmc.fabric-loom' version "${loom_version}" apply false
|
|
}
|
|
|
|
tasks.named('build') { dependsOn(':sanctuary:build') }
|
|
tasks.named('check') { dependsOn(':sanctuary:check', 'verifyPack') }
|
|
|
|
tasks.register('verifyPack', Exec) {
|
|
group = 'verification'
|
|
description = 'Verify pinned pack dependencies, versions and index hashes.'
|
|
commandLine('python3', 'scripts/pack.py', 'check')
|
|
}
|
|
|
|
tasks.register('assemblePack', Exec) {
|
|
group = 'distribution'
|
|
description = 'Assemble a local packwiz pack including the built Sanctuary mod.'
|
|
dependsOn(':sanctuary:build', 'verifyPack')
|
|
commandLine('python3', 'scripts/pack.py', 'assemble')
|
|
}
|