Created
December 11, 2012 06:29
-
-
Save Vj3k0/4256333 to your computer and use it in GitHub Desktop.
Adding telemetry to SWF with Ant
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
#Properties for ant-telemetry.xml | |
project.name=SomeProjectName | |
swf.name=${project.name}.swf | |
#Path to your SWF | |
swf.loc=${basedir}/../out/production/${project.name}/${swf.name} |
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
<?xml version="1.0" encoding="UTF-8"?><!--ant--> | |
<project name="AddTelemetry" basedir="." default="addTelemetry"> | |
<!-- identify properties file --> | |
<property file="ant-telemetry.properties"/> | |
<target name="addTelemetry"> | |
<echo message="Adding telemetry to: ${swf.loc}" /> | |
<exec executable="./add-opt-in.py"> | |
<arg value="${swf.loc}" /> | |
</exec> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment