Skip to content

Commit

Permalink
Build script refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
maccasoft committed Feb 20, 2023
1 parent ce3102b commit 932303b
Show file tree
Hide file tree
Showing 9 changed files with 211 additions and 250 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
build/linux/target/spin-tools-linux*
build/windows/target/spin-tools-windows*
build/macosx/target/spin-tools-macos*
build/target/spin-tools-linux*
build/target/spin-tools-windows*
build/target/spin-tools-macos*
- name: Create Tests Summary
uses: test-summary/action@dist
Expand Down
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,15 @@
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1676833826673</id>
<name>build</name>
<type>10</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-target</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
28 changes: 16 additions & 12 deletions build/linux/descriptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,60 +8,64 @@
<baseDirectory>spin-tools</baseDirectory>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64</exclude>
<exclude>org.eclipse.platform:org.eclipse.swt.cocoa.macosx.x86_64</exclude>
</excludes>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>../../build/linux</directory>
<outputDirectory>lib</outputDirectory>
<directory>linux</directory>
<includes>
<include>app16.png</include>
<include>app32.png</include>
<include>app48.png</include>
<include>app64.png</include>
<include>desktop.template</include>
</includes>
<outputDirectory>lib</outputDirectory>
</fileSet>
<fileSet>
<directory>../../examples</directory>
<outputDirectory>examples</outputDirectory>
<directory>../examples</directory>
<excludes>
<exclude>**/*.binary</exclude>
</excludes>
<outputDirectory>examples</outputDirectory>
</fileSet>
<fileSet>
<directory>../../library</directory>
<outputDirectory>library</outputDirectory>
<directory>../library</directory>
<excludes>
<exclude>**/*.binary</exclude>
</excludes>
<outputDirectory>library</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory></outputDirectory>
<directory>linux</directory>
<fileMode>755</fileMode>
<includes>
<include>spinide</include>
<include>install.sh</include>
<include>uninstall.sh</include>
<include>spinc</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
<fileSet>
<directory>../../build/linux</directory>
<outputDirectory></outputDirectory>
<directory>linux</directory>
<includes>
<include>spinide.png</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
<fileSet>
<directory>../..</directory>
<outputDirectory></outputDirectory>
<directory>..</directory>
<includes>
<include>LICENSE</include>
<include>CC-BY-3.0.txt</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</assembly>
44 changes: 0 additions & 44 deletions build/linux/pom.xml

This file was deleted.

16 changes: 10 additions & 6 deletions build/macosx/descriptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<baseDirectory>Spin Tools IDE.app</baseDirectory>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64</exclude>
<exclude>org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64</exclude>
</excludes>
<outputDirectory>Contents/Java</outputDirectory>
</dependencySet>
</dependencySets>
Expand All @@ -17,26 +21,26 @@
<outputDirectory></outputDirectory>
</fileSet>
<fileSet>
<directory>../../examples</directory>
<outputDirectory>Contents/Java/examples</outputDirectory>
<directory>../examples</directory>
<excludes>
<exclude>**/*.binary</exclude>
</excludes>
<outputDirectory>Contents/Java/examples</outputDirectory>
</fileSet>
<fileSet>
<directory>../../library</directory>
<outputDirectory>Contents/Java/library</outputDirectory>
<directory>../library</directory>
<excludes>
<exclude>**/*.binary</exclude>
</excludes>
<outputDirectory>Contents/Java/library</outputDirectory>
</fileSet>
<fileSet>
<directory>../..</directory>
<outputDirectory></outputDirectory>
<directory>..</directory>
<includes>
<include>LICENSE</include>
<include>CC-BY-3.0.txt</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</assembly>
89 changes: 0 additions & 89 deletions build/macosx/pom.xml

This file was deleted.

Loading

0 comments on commit 932303b

Please sign in to comment.