Prepare For Better TS Build System
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5e176a84fa
commit
8f053b60a2
@ -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'
|
||||||
|
Reference in New Issue
Block a user