-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Maven of frank-runner to build ladybug-frontend
- Loading branch information
Martijn Dirkse
committed
Sep 27, 2024
1 parent
be767b0
commit 4ef012c
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<project default="run-ladybug-frontend-maven-build" xmlns:if="ant:if" xmlns:unless="ant:unless"> | ||
<target name="run-ladybug-frontend-maven-build"> | ||
<condition property="ladybug.frontend.not.present"><not><resourceexists><file file="../../../ladybug-frontend"/></resourceexists></not></condition> | ||
<fail message="Folder 'ladybug-frontend' not found, please clone https://github.com/wearefrank/ladybug-frontend.git" if:set="ladybug.frontend.not.present"/> | ||
<property name="ladybug.frontend.dir" location="../../../ladybug-frontend" /> | ||
<condition property="mvn.exe" value="../frank-runner/mvn.bat" else="/bin/bash"><os family="windows"/></condition> | ||
<condition property="mvn.arg" value="../frank-runner/mvn.sh" else=""><os family="unix"/></condition> | ||
|
||
<echo message="ladybug: Build ibis-echo2" if:true="${build.echo2}"/> | ||
<property name="build.echo2" value="false"/> | ||
<exec executable="${mvn.exe}" dir="${ladybug.frontend.dir}" vmlauncher="false" failonerror="true"> | ||
<arg value="${mvn.arg}" unless:blank="${mvn.arg}"/> | ||
<arg value="clean" unless:true="${maven.skip.clean}"/> | ||
<arg value="install"/> | ||
</exec> | ||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
call ..\..\ant.bat | ||
if %errorlevel% equ 0 goto end | ||
rem https://superuser.com/questions/527898/how-to-pause-only-if-executing-in-a-new-window | ||
set arg0=%0 | ||
if [%arg0:~2,1%]==[:] if not [%TERM_PROGRAM%] == [vscode] pause | ||
:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
../../ant.sh |