Setup dist task to assemble libs for compiler distribution.
Produce special stdlib artifact with annotations for dist. Put js outputs to dist, they're required for JS backend tests. Use kotlin-compiler for maven, which has all required dependencies bundled. Clean local directory repository on clean. Change paths in tests to compiled artifacts.
This commit is contained in:
@@ -66,7 +66,7 @@ class NoErrorsInStdlibTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
}
|
||||
|
||||
override fun getProjectDescriptor(): LightProjectDescriptor {
|
||||
return object : KotlinJdkAndLibraryProjectDescriptor(File("dist/classes/builtins")) {
|
||||
return object : KotlinJdkAndLibraryProjectDescriptor(File("libraries/stdlib/build/classes/builtins")) {
|
||||
override fun getSdk(): Sdk? = PluginTestCaseBase.fullJdk()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user