forked from JetBrains/intellij-scala
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuildutils.xml
40 lines (35 loc) · 1.47 KB
/
buildutils.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<project name="Production build" default="idea.postbuild">
<target name="rename.scala.library">
<move todir="out/plugin/Scala/lib">
<fileset dir="out/plugin/Scala/lib">
<include name="scala-library*.jar"/>
</fileset>
<mapper type="glob" from="*" to="scala-library.jar"/>
</move>
</target>
<target name="rename.sbt.structure.0.12">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-structure-extractor-0-12*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-structure-0.12.jar"/>
</move>
</target>
<target name="rename.sbt.structure.0.13">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-structure-extractor-0-13*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-structure-0.13.jar"/>
</move>
</target>
<target name="rename.sbt.launch">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-launch*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-launch.jar"/>
</move>
</target>
<target name="idea.postbuild" depends="rename.scala.library,rename.sbt.structure.0.12,rename.sbt.structure.0.13,rename.sbt.launch"/>
</project>