Commit: 661f51a23634ee6bbf2c7ee85ad173e73e415dfb Author: Matt Ficken <v-maf...@microsoft.com> Wed, 20 Nov 2013 12:37:31 -0800 Parents: c20cec1c0a4eea3ea4edfa2c22552f7d4aa57ee5 Branches: master
Link: http://git.php.net/?p=pftt2.git;a=commitdiff;h=661f51a23634ee6bbf2c7ee85ad173e73e415dfb Log: str_size_t branch Former-commit-id: 7fa5c9e2385397b2887a68ad8fb75a27d17ce984 Changed paths: M src/com/mostc/pftt/model/core/EBuildBranch.java M src/com/mostc/pftt/util/WindowsSnapshotDownloadUtil.groovy Diff: diff --git a/src/com/mostc/pftt/model/core/EBuildBranch.java b/src/com/mostc/pftt/model/core/EBuildBranch.java index bc21720..0eee2f5 100644 --- a/src/com/mostc/pftt/model/core/EBuildBranch.java +++ b/src/com/mostc/pftt/model/core/EBuildBranch.java @@ -34,6 +34,12 @@ public enum EBuildBranch { public ECPUArch getCPUArch() { return null; // could be X86 or X64 } + }, + STR_SIZE_AND_INT64 { + @Override + public ECPUArch getCPUArch() { + return ECPUArch.X64; + } }; /** flexibly matches different values, guessing which EBuildBranch it refers to @@ -57,6 +63,8 @@ public enum EBuildBranch { return PHP_5_6; else if (str.equals("master")||str.equals("php_master")) return PHP_Master; + else if (str.equals("str_size_and_int64")) + return STR_SIZE_AND_INT64; else return null; } @@ -73,6 +81,8 @@ public enum EBuildBranch { return PHP_5_6; else if (str.contains("master")) return PHP_Master; + else if (str.contains("str_size")||str.contains("int64")) + return STR_SIZE_AND_INT64; else return null; } diff --git a/src/com/mostc/pftt/util/WindowsSnapshotDownloadUtil.groovy b/src/com/mostc/pftt/util/WindowsSnapshotDownloadUtil.groovy index d1bd0bc..36819e6 100644 --- a/src/com/mostc/pftt/util/WindowsSnapshotDownloadUtil.groovy +++ b/src/com/mostc/pftt/util/WindowsSnapshotDownloadUtil.groovy @@ -32,6 +32,7 @@ final class WindowsSnapshotDownloadUtil { static final URL PHP_5_4_DOWNLOAD = new URL("http://windows.php.net/downloads/snaps/php-5.4/") static final URL PHP_5_5_DOWNLOAD = new URL("http://windows.php.net/downloads/snaps/php-5.5/") static final URL PHP_5_6_DOWNLOAD = new URL("http://windows.php.net/downloads/snaps/php-5.6/") + static final URL STR_SIZE_AND_INT64_DOWNLOAD = new URL("http://windows.php.net/downloads/snaps/str_size_and_int64/") static final URL PHP_MASTER_DOWNLOAD = new URL("http://windows.php.net/downloads/snaps/master/") static File snapshotURLtoLocalFile(AHost host, URL url) { @@ -67,6 +68,8 @@ final class WindowsSnapshotDownloadUtil { return PHP_5_6_DOWNLOAD; case EBuildBranch.PHP_Master: return PHP_MASTER_DOWNLOAD; + case EBuildBranch.STR_SIZE_AND_INT64: + return STR_SIZE_AND_INT64_DOWNLOAD; } return null; }