Skip to content

Commit fe5be12

Browse files
committed
Change release structure
- Splitting the release files into matlab and simulink folders. - Include README and LICENSE.
1 parent c34617e commit fe5be12

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

src/main/assembly/release.xml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
23
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
@@ -7,18 +8,31 @@
78
<format>tar.gz</format>
89
<format>dir</format>
910
</formats>
10-
<includeBaseDirectory>false</includeBaseDirectory>
11+
<includeBaseDirectory>true</includeBaseDirectory>
1112
<fileSets>
13+
<!-- Copy Readme, License -->
14+
<fileSet>
15+
<directory>${project.basedir}/</directory>
16+
<includes>
17+
<include>README*</include>
18+
<include>LICENSE*</include>
19+
</includes>
20+
</fileSet>
1221
<!-- Copy backing MATLAB scripts -->
1322
<fileSet>
1423
<directory>${project.build.directory}/classes/matlab/</directory>
15-
<outputDirectory>hebi/</outputDirectory>
24+
<outputDirectory>matlab/</outputDirectory>
1625
<lineEnding>dos</lineEnding>
1726
</fileSet>
27+
<!-- Copy backing Simulink scripts -->
28+
<fileSet>
29+
<directory>${project.build.directory}/classes/simulink/</directory>
30+
<outputDirectory>simulink/</outputDirectory>
31+
</fileSet>
1832
<!-- Copy Java library (includes all Java dependencies) -->
1933
<fileSet>
20-
<directory>${project.build.directory}</directory>
21-
<outputDirectory>hebi/</outputDirectory>
34+
<directory>${project.build.directory}/</directory>
35+
<outputDirectory>matlab/</outputDirectory>
2236
<includes>
2337
<include>${releaseName}.jar</include>
2438
</includes>
@@ -27,7 +41,7 @@
2741
<dependencySets>
2842
<!-- Copy native binaries into lib directory -->
2943
<dependencySet>
30-
<outputDirectory>hebi/lib/</outputDirectory>
44+
<outputDirectory>matlab/lib/</outputDirectory>
3145
<useProjectArtifact>true</useProjectArtifact>
3246
<unpack>true</unpack>
3347
<scope>provided</scope>
@@ -37,7 +51,3 @@
3751
</dependencySet>
3852
</dependencySets>
3953
</assembly>
40-
41-
42-
43-

0 commit comments

Comments
 (0)