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:
James Strachan
2012-03-02 09:29:38 +00:00
parent 3322d3eb13
commit 2e13f916e6
+4
View File
@@ -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"/>