Skip to content

Commit 8971829

Browse files
puredangerdnolen
authored andcommitted
CLJS-2594 Make main cljs jar AOT
1 parent b9019cf commit 8971829

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

pom.template.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,24 @@
364364
<goal>single</goal>
365365
</goals>
366366
<configuration>
367+
<appendAssemblyId>false</appendAssemblyId>
367368
<descriptors>
368369
<descriptor>src/assembly/aot.xml</descriptor>
369370
</descriptors>
370371
</configuration>
371372
</execution>
373+
<execution>
374+
<id>slim-jar</id>
375+
<phase>package</phase>
376+
<goals>
377+
<goal>single</goal>
378+
</goals>
379+
<configuration>
380+
<descriptors>
381+
<descriptor>src/assembly/slim.xml</descriptor>
382+
</descriptors>
383+
</configuration>
384+
</execution>
372385
</executions>
373386
</plugin>
374387
<plugin>

src/assembly/slim.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<assembly>
2+
<id>slim</id>
3+
<formats>
4+
<format>jar</format>
5+
</formats>
6+
<includeBaseDirectory>false</includeBaseDirectory>
7+
<fileSets>
8+
<fileSet>
9+
<directory>src/main/cljs</directory>
10+
<outputDirectory>/</outputDirectory>
11+
</fileSet>
12+
<fileSet>
13+
<directory>src/main/clojure</directory>
14+
<outputDirectory>/</outputDirectory>
15+
</fileSet>
16+
<fileSet>
17+
<directory>resources</directory>
18+
<outputDirectory>/</outputDirectory>
19+
</fileSet>
20+
</fileSets>
21+
</assembly>

0 commit comments

Comments
 (0)