make the build copy the bin scripts to the dist/kotlinc/bin area by default, so all builds can be used as a full kotlin dist when using things like kotlin-script (https://github.com/andrewoma/kotlin-script), so you can set your PATH to basedir/dist/kotlinc/bin and use your local build as a full kotlin environment
This commit is contained in:
@@ -259,6 +259,10 @@
|
||||
<fileset dir="${idea.sdk}/core" includes="*.jar"/>
|
||||
<fileset dir="${basedir}/lib" includes="*.jar"/>
|
||||
</copy>
|
||||
<copy todir="${kotlin-home}/bin">
|
||||
<fileset dir="${basedir}/compiler/cli/bin"/>
|
||||
</copy>
|
||||
<chmod dir="${kotlin-home}/bin" includes="*" perm="755"/>
|
||||
</target>
|
||||
|
||||
<target name="dist" depends="init,jarRT,copyKotlinJars,jarJDKHeaders,jar,buildToolsJar,compileKunit,compileKdoc"/>
|
||||
|
||||
Reference in New Issue
Block a user