Skip to content

Commit

Permalink
Ant: move version to .properties
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandrissen committed Nov 27, 2021
1 parent 2c4fde7 commit 7c6972a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = v2.34
5 changes: 3 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="sam-mod-player" default="all-b-dos" xmlns:if="ant:if">

<property name="version" value="v2.34" />
<property file=".properties" />

<property name="python" value="python" />
<property name="pyz80" value="../pyz80/pyz80.py" />
<property name="simcoupe" location="C:\Program Files\SimCoupe\SimCoupe.exe" />
Expand Down Expand Up @@ -98,7 +99,7 @@ defm "${version}"
</exec>

<!-- adjust to what needs debugging -->
<copy file="obj/loader.map" tofile="obj/SAM.MOD.player.${version}.map" if:true="${mapfile}" />
<copy file="obj/demo.map" tofile="obj/SAM.MOD.player.${version}.map" if:true="${mapfile}" />

</sequential>

Expand Down

0 comments on commit 7c6972a

Please sign in to comment.