Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
Improved build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob van Mourik committed Oct 8, 2016
1 parent 845445c commit 80f8fad
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
target/
dist/
13 changes: 7 additions & 6 deletions inno.iss → .inno.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,34 @@
#define AppVersion "0.8.1"
#define AppPublisher "JvMs Software"
#define AppURL "https://github.com/jcbvm/ember-i18n-editor"
#define AppExeName "i18n-editor-0.8.1.exe"
#define AppExeName "i18n-editor.exe"

[Setup]
AppId={{16A49296-8A8D-4BDA-A743-5F1BF02953D5}
AppName={#AppName}
AppVersion={#AppVersion}
AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL}
AppSupportURL={#AppURL}/issues
AppUpdatesURL={#AppURL}/releases
AppSupportURL={#AppURL}
AppUpdatesURL={#AppURL}
DefaultDirName={pf}\{#AppPublisher}\{#AppName}
DisableProgramGroupPage=auto
DisableDirPage=auto
AlwaysShowDirOnReadyPage=yes
LicenseFile=LICENSE
OutputBaseFilename=setup
OutputDir=target
OutputBaseFilename={#AppName}-{#AppVersion}
OutputDir=dist
SetupIconFile=src\main\resources\images\icon.ico
UninstallDisplayIcon={uninstallexe}
Compression=lzma
SolidCompression=yes
ArchitecturesAllowed=x86 x64 ia64
ArchitecturesInstallIn64BitMode=x64 ia64

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Expand Down
22 changes: 20 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@
<version>1.7.7</version>
<executions>
<execution>
<id>l4j-clui</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>gui</headerType>
<outfile>${project.build.directory}/${project.artifactId}-${project.version}.exe</outfile>
<outfile>${project.build.directory}/${project.artifactId}.exe</outfile>
<jar>${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar</jar>
<errTitle>i18n Editor</errTitle>
<classPath>
Expand All @@ -88,6 +87,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar"
toFile="${basedir}/dist/${project.artifactId}-${project.version}.jar"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 80f8fad

Please sign in to comment.