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
# Run the following commpands in Power-Shell (as Administrator) | |
# One time setup to ensure the scripts can be run | |
Set-ExecutionPolicy RemoteSigned | |
# Download the install script pipe it into Invoke-Expression | |
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex | |
# Install it | |
install-module posh-git |
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
module BuildNumberHelper | |
open System | |
open Fake | |
let private majorMinorVersionMaster = | |
match environVarOrNone "MajorMinorVersion.Master" with | |
| Some v -> v | |
| None -> "0.0" |
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
// All credit and any copyright is attributed to the source of this code: | |
// http://fsharpforfunandprofit.com/posts/fsharp-in-60-seconds/ | |
// single line comments use a double slash | |
(* multi line comments use (* . . . *) pair | |
-end of multi line comment- *) | |
// ======== "Variables" (but not really) ========== | |
// The "let" keyword defines an (immutable) value |
NewerOlder