Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

529 B
Raw Blame
tasks.register('clean', Delete) {
  delete layout.buildDirectory
}

tasks.register('npmAnalyze', Exec) {
  mustRunAfter npmClean
  dependsOn getYarnInstallTask()
  commandLine npmCommand("yarn"), "run", "analyze"
}

tasks.register('installDist') {
  dependsOn npmAnalyze
}

tasks.register('prepareUi') {
  dependsOn clean, npmAnalyze, npmPrepare
}

tasks.register('publishUi') {
  dependsOn clean, npmPublish
}

tasks.register('npmTest', Exec) {
  dependsOn getYarnInstallTask()
  commandLine npmCommand("yarn"), "run", "test"
}