Skip to content

Instantly share code, notes, and snippets.

@Vidarls
Vidarls / FakeRaygun.fsx
Last active October 27, 2015 07:47
Simple example of reporting deployments to Raygun.io from a FAKE build script
// Module does not have AutoOpen
open Fake.RaygunHelper
RaygunHelper.ReportDeployment
//Setting up endpoint
(fun s -> {s with externalToken = "MyExternalAccessToken"})
//Sending data
(fun r ->
{r with
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<!-- Normal Raygun snippet-->
<script type="text/javascript">
!function(a,b,c,d,e,f,g,h){a.RaygunObject=e,a[e]=a[e]||function(){