-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tomas Jansson
committed
Jul 28, 2018
1 parent
023819e
commit 9695b23
Showing
10 changed files
with
656 additions
and
14 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#load ".fake/build.fsx/intellisense.fsx" | ||
open Fake.Core | ||
open Fake.DotNet | ||
open Fake.IO | ||
open Fake.IO.Globbing.Operators | ||
open Fake.Core.TargetOperators | ||
|
||
Target.create "Clean" (fun _ -> | ||
!! "src/**/bin" | ||
++ "src/**/obj" | ||
|> Shell.cleanDirs | ||
) | ||
|
||
Target.create "Build" (fun _ -> | ||
!! "src/**/*.*proj" | ||
|> Seq.iter (DotNet.build id) | ||
) | ||
|
||
Target.create "All" ignore | ||
|
||
"Clean" | ||
==> "Build" | ||
==> "All" | ||
|
||
Target.runOrDefault "All" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SET TOOL_PATH=.fake | ||
|
||
IF NOT EXIST "%TOOL_PATH%\fake.exe" ( | ||
dotnet tool install fake-cli --tool-path ./%TOOL_PATH% --version 5.* | ||
) | ||
|
||
"%TOOL_PATH%/fake.exe" %* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu | ||
set -o pipefail | ||
|
||
# liberated from https://stackoverflow.com/a/18443300/433393 | ||
realpath() { | ||
OURPWD=$PWD | ||
cd "$(dirname "$1")" | ||
LINK=$(readlink "$(basename "$1")") | ||
while [ "$LINK" ]; do | ||
cd "$(dirname "$LINK")" | ||
LINK=$(readlink "$(basename "$1")") | ||
done | ||
REALPATH="$PWD/$(basename "$1")" | ||
cd "$OURPWD" | ||
echo "$REALPATH" | ||
} | ||
|
||
TOOL_PATH=$(realpath .fake) | ||
FAKE="$TOOL_PATH"/fake | ||
|
||
if ! [ -e "$FAKE" ] | ||
then | ||
dotnet tool install fake-cli --tool-path $TOOL_PATH --version 5.* | ||
fi | ||
"$FAKE" "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source https://www.nuget.org/api/v2 | ||
storage:none | ||
framework: netstandard2.0 | ||
|
||
nuget FSharp.Core redirects:force | ||
nuget Fable.Core | ||
nuget Fable.Import.Express | ||
|
||
|
||
// [ FAKE GROUP ] | ||
group Build | ||
source https://api.nuget.org/v3/index.json | ||
|
||
framework: netstandard2.0 | ||
|
||
nuget Fake.DotNet.Cli | ||
nuget Fake.IO.FileSystem | ||
nuget Fake.Core.Target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,264 @@ | ||
STORAGE: NONE | ||
RESTRICTION: == netstandard2.0 | ||
NUGET | ||
remote: https://www.nuget.org/api/v2 | ||
Fable.Core (1.3.17) | ||
FSharp.Core (>= 4.2.3) | ||
NETStandard.Library (>= 1.6.1) | ||
Fable.Import.Express (0.1) | ||
Fable.Import.Node (>= 0.1) | ||
NETStandard.Library (>= 1.6.1) | ||
Fable.Import.Node (0.4.3) | ||
Fable.Core (>= 1.3.8) | ||
FSharp.Core (4.5.2) - redirects: force | ||
Microsoft.NETCore.Platforms (2.1) | ||
NETStandard.Library (2.0.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
|
||
GROUP Build | ||
RESTRICTION: == netstandard2.0 | ||
NUGET | ||
remote: https://api.nuget.org/v3/index.json | ||
Fake.Core.CommandLineParsing (5.2) | ||
FParsec (>= 1.0.3) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.Core.Context (5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.Core.Environment (5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.Core.FakeVar (5.2) | ||
Fake.Core.Context (>= 5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.Core.Process (5.2) | ||
Fake.Core.Environment (>= 5.2) | ||
Fake.Core.FakeVar (>= 5.2) | ||
Fake.Core.String (>= 5.2) | ||
Fake.Core.Trace (>= 5.2) | ||
Fake.IO.FileSystem (>= 5.2) | ||
FSharp.Core (>= 4.3.4) | ||
System.Diagnostics.Process (>= 4.3) | ||
Fake.Core.String (5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.Core.Target (5.2) | ||
Fake.Core.CommandLineParsing (>= 5.2) | ||
Fake.Core.Context (>= 5.2) | ||
Fake.Core.Environment (>= 5.2) | ||
Fake.Core.FakeVar (>= 5.2) | ||
Fake.Core.Process (>= 5.2) | ||
Fake.Core.String (>= 5.2) | ||
Fake.Core.Trace (>= 5.2) | ||
FSharp.Control.Reactive (>= 4.1) | ||
FSharp.Core (>= 4.3.4) | ||
System.Reactive.Compatibility (>= 4.0) | ||
Fake.Core.Trace (5.2) | ||
Fake.Core.Environment (>= 5.2) | ||
Fake.Core.FakeVar (>= 5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Fake.DotNet.Cli (5.2) | ||
Fake.Core.Environment (>= 5.2) | ||
Fake.Core.Process (>= 5.2) | ||
Fake.Core.String (>= 5.2) | ||
Fake.Core.Trace (>= 5.2) | ||
Fake.IO.FileSystem (>= 5.2) | ||
FSharp.Core (>= 4.3.4) | ||
Newtonsoft.Json (>= 11.0.2) | ||
Fake.IO.FileSystem (5.2) | ||
Fake.Core.String (>= 5.2) | ||
FSharp.Core (>= 4.3.4) | ||
System.Diagnostics.FileVersionInfo (>= 4.3) | ||
System.IO.FileSystem.Watcher (>= 4.3) | ||
FParsec (1.0.3) | ||
FSharp.Core (>= 4.2.3) | ||
NETStandard.Library (>= 1.6.1) | ||
FSharp.Control.Reactive (4.1) | ||
FSharp.Core (>= 4.2.3) | ||
System.Reactive (>= 4.0) | ||
FSharp.Core (4.5.2) | ||
Microsoft.NETCore.Platforms (2.1) | ||
Microsoft.NETCore.Targets (2.1) | ||
Microsoft.Win32.Primitives (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
Microsoft.Win32.Registry (4.5) | ||
System.Buffers (>= 4.4) | ||
System.Memory (>= 4.5) | ||
System.Security.AccessControl (>= 4.5) | ||
System.Security.Principal.Windows (>= 4.5) | ||
NETStandard.Library (2.0.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Newtonsoft.Json (11.0.2) | ||
runtime.native.System (4.3.1) | ||
Microsoft.NETCore.Platforms (>= 1.1.1) | ||
Microsoft.NETCore.Targets (>= 1.1.3) | ||
System.Buffers (4.5) | ||
System.Collections (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Collections.Immutable (1.5) | ||
System.Diagnostics.Debug (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Diagnostics.FileVersionInfo (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
System.Globalization (>= 4.3) | ||
System.IO (>= 4.3) | ||
System.IO.FileSystem (>= 4.3) | ||
System.IO.FileSystem.Primitives (>= 4.3) | ||
System.Reflection.Metadata (>= 1.4.1) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Extensions (>= 4.3) | ||
System.Runtime.InteropServices (>= 4.3) | ||
System.Diagnostics.Process (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.Win32.Primitives (>= 4.3) | ||
Microsoft.Win32.Registry (>= 4.3) | ||
runtime.native.System (>= 4.3) | ||
System.Collections (>= 4.3) | ||
System.Diagnostics.Debug (>= 4.3) | ||
System.Globalization (>= 4.3) | ||
System.IO (>= 4.3) | ||
System.IO.FileSystem (>= 4.3) | ||
System.IO.FileSystem.Primitives (>= 4.3) | ||
System.Resources.ResourceManager (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Extensions (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) | ||
System.Runtime.InteropServices (>= 4.3) | ||
System.Text.Encoding (>= 4.3) | ||
System.Text.Encoding.Extensions (>= 4.3) | ||
System.Threading (>= 4.3) | ||
System.Threading.Tasks (>= 4.3) | ||
System.Threading.Thread (>= 4.3) | ||
System.Threading.ThreadPool (>= 4.3) | ||
System.Globalization (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.IO (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Text.Encoding (>= 4.3) | ||
System.Threading.Tasks (>= 4.3) | ||
System.IO.FileSystem (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.IO (>= 4.3) | ||
System.IO.FileSystem.Primitives (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) | ||
System.Text.Encoding (>= 4.3) | ||
System.Threading.Tasks (>= 4.3) | ||
System.IO.FileSystem.Primitives (4.3) | ||
System.Runtime (>= 4.3) | ||
System.IO.FileSystem.Watcher (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.Win32.Primitives (>= 4.3) | ||
runtime.native.System (>= 4.3) | ||
System.Collections (>= 4.3) | ||
System.IO.FileSystem (>= 4.3) | ||
System.IO.FileSystem.Primitives (>= 4.3) | ||
System.Resources.ResourceManager (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Extensions (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) | ||
System.Runtime.InteropServices (>= 4.3) | ||
System.Text.Encoding (>= 4.3) | ||
System.Threading (>= 4.3) | ||
System.Threading.Overlapped (>= 4.3) | ||
System.Threading.Tasks (>= 4.3) | ||
System.Threading.Thread (>= 4.3) | ||
System.Memory (4.5.1) | ||
System.Buffers (>= 4.4) | ||
System.Numerics.Vectors (>= 4.4) | ||
System.Runtime.CompilerServices.Unsafe (>= 4.5) | ||
System.Numerics.Vectors (4.5) | ||
System.Reactive (4.0) | ||
System.Runtime.InteropServices.WindowsRuntime (>= 4.3) | ||
System.Reactive.Compatibility (4.0) | ||
System.Reactive.Core (>= 4.0) | ||
System.Reactive.Interfaces (>= 4.0) | ||
System.Reactive.Linq (>= 4.0) | ||
System.Reactive.PlatformServices (>= 4.0) | ||
System.Reactive.Providers (>= 4.0) | ||
System.Reactive.Core (4.0) | ||
System.Reactive (>= 4.0) | ||
System.Reactive.Interfaces (4.0) | ||
System.Reactive (>= 4.0) | ||
System.Reactive.Linq (4.0) | ||
System.Reactive (>= 4.0) | ||
System.Reactive.PlatformServices (4.0) | ||
System.Reactive (>= 4.0) | ||
System.Reactive.Providers (4.0) | ||
System.Reactive (>= 4.0) | ||
System.Reflection (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.IO (>= 4.3) | ||
System.Reflection.Primitives (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Reflection.Metadata (1.6) | ||
System.Collections.Immutable (>= 1.5) | ||
System.Reflection.Primitives (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Resources.ResourceManager (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Globalization (>= 4.3) | ||
System.Reflection (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime.CompilerServices.Unsafe (4.5.1) | ||
System.Runtime.Extensions (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Handles (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.InteropServices (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Reflection (>= 4.3) | ||
System.Reflection.Primitives (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) | ||
System.Runtime.InteropServices.WindowsRuntime (4.3) | ||
System.Runtime (>= 4.3) | ||
System.Security.AccessControl (4.5) | ||
System.Security.Principal.Windows (>= 4.5) | ||
System.Security.Principal.Windows (4.5) | ||
System.Text.Encoding (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Text.Encoding.Extensions (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Text.Encoding (>= 4.3) | ||
System.Threading (4.3) | ||
System.Runtime (>= 4.3) | ||
System.Threading.Tasks (>= 4.3) | ||
System.Threading.Overlapped (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
System.Resources.ResourceManager (>= 4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) | ||
System.Threading.Tasks (4.3) | ||
Microsoft.NETCore.Platforms (>= 1.1) | ||
Microsoft.NETCore.Targets (>= 1.1) | ||
System.Runtime (>= 4.3) | ||
System.Threading.Thread (4.3) | ||
System.Runtime (>= 4.3) | ||
System.Threading.ThreadPool (4.3) | ||
System.Runtime (>= 4.3) | ||
System.Runtime.Handles (>= 4.3) |
21 changes: 10 additions & 11 deletions
21
src/Fable.Import.Firebase.Functions/Fable.Import.Firebase.Functions.fsproj
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="Library.fs" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="Https.fs" /> | ||
</ItemGroup> | ||
<Import Project="..\..\.paket\Paket.Restore.targets" /> | ||
</Project> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FSharp.Core | ||
Fable.Core | ||
Fable.Import.Express |