Prepare For Better TS Build System
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit

This commit is contained in:
TheBrokenRail 2020-05-23 12:34:41 -04:00
parent 5e176a84fa
commit 8f053b60a2

View File

@ -37,14 +37,11 @@ task typescript(group: 'typescript', type: Exec) {
typescript.dependsOn typescriptInstall typescript.dependsOn typescriptInstall
task typescriptAPI(group: 'typescript', type: Tar) { task typescriptAPI(group: 'typescript', type: Tar) {
into('/package') { into('types') {
into('types') { from new File(typescriptRootFile as File, 'src/types')
from new File(typescriptRootFile as File, 'src/types') }
} into('lib') {
into('lib') { from dtsOut
from dtsOut
}
from new File(typescriptRootFile as File, 'package.json')
} }
classifier 'api' classifier 'api'