Skip to content

Commit ad6c849

Browse files
committed
Copy bootstrap compiler to dist directory
Can by used in old branches where it's impossible to make dist properly
1 parent 3ffd63a commit ad6c849

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,15 @@
230230
</copy>
231231
</target>
232232

233+
<target name="copy-bootstrap-to-dist"
234+
depends="clean"
235+
description="Use bootstrap compiler instead of building one from sources">
236+
<mkdir dir="${kotlin-home}"/>
237+
<copy todir="${kotlin-home}">
238+
<fileset dir="${bootstrap.compiler.home}"/>
239+
</copy>
240+
</target>
241+
233242
<target name="compiler-sources">
234243
<jar jarfile="${output}/kotlin-compiler-sources.jar">
235244
<!-- TODO How to convert it from pathset or dirset ? -->

0 commit comments

Comments
 (0)