Added a WebMarketStrategy that points to the weloveastrid store, removed unused custom builds

pull/14/head
Sam Bosley 13 years ago
parent d9d6d1e7e3
commit 0e7a2b6ed5

@ -43,6 +43,16 @@ public abstract class MarketStrategy {
}
public static class WebMarketStrategy extends MarketStrategy {
@Override
public Intent generateMarketLink(String packageName) {
return new Intent(Intent.ACTION_VIEW,
Uri.parse("http://weloveastrid.com/store")); //$NON-NLS-1$
}
}
public static class AmazonMarketStrategy extends MarketStrategy {
@Override

@ -32,9 +32,9 @@
</subant>
</target>
<target name="release-all" depends="clean,get-version,release,release-amazon">
<target name="release-all" depends="clean,get-version,release,release-amazon,release-webmarket">
<!-- custom builds -->
<for list="-getjar,-verizon,-sprint,-orange,-vodafone,-other" param="name">
<for list="-other" param="name">
<sequential>
<subant target="release-custom">
<fileset file="astrid/build.xml" />
@ -53,6 +53,14 @@
</subant>
</target>
<target name="release-webmarket" depends="get-version">
<subant target="release-custom">
<fileset file="astrid/build.xml" />
<property name="custom.version.name" value="-web-market" />
<property name="custom.market.strategy" value="WebMarketStrategy" />
</subant>
</target>
<target name="debug">
<subant>
<fileset file="astrid/build.xml" />

Loading…
Cancel
Save