Created
March 2, 2015 20:54
-
-
Save jonathanpeppers/cb0c97288f52153efac7 to your computer and use it in GitHub Desktop.
Hockey helper for FAKE
This file contains hidden or 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
let HockeyPath = | |
if isUnix then "/usr/local/bin/puck" else @"C:\Program Files (x86)\HockeyApp\Hoch.exe" | |
let HockeyArgs = | |
if isUnix then "-submit=auto -app_id={1} -api_token={2} {0}" else "{0} /app_id {1} /version {3} /notes \"\"" | |
let Hockey file appId apiToken version = | |
Exec HockeyPath (String.Format(HockeyArgs, file, appId, apiToken, version)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment