Skip to content

Commit

Permalink
Release version 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed Jan 13, 2021
1 parent 36784e6 commit 1bce523
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
public/js
public/libs
public/metadata
src/Standalone/
deploy/
temp/
.idea
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 3.1.1

* Update Fable

## 3.0.4

* New attempt at removing ServiceWorker
Expand Down
9 changes: 5 additions & 4 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ let METADATA_EXPORT_DIR = Path.Combine(CWD, "src/Export")
let CHANGELOG_FILE = Path.Combine(CWD, "CHANGELOG.md")
let PRELUDE_FILE = CWD </> "src/App/Prelude.fs"

let METADATA_LIB, STANDALONE_DIST =
let METADATA_LIB, STANDALONE_DIST, STANDALONE_SRC =
match Environment.environVarOrNone "LOCAL_PKG" with
| Some _ ->
printfn "Using local packages..."
"../fable/src/fable-metadata/lib", "../fable/src/fable-standalone/dist"
| None -> "node_modules/fable-metadata/lib", "node_modules/fable-standalone/dist"
"../Fable/src/fable-metadata/lib", "../Fable/src/fable-standalone/dist", "../Fable/src/fable-standalone/src"
| None -> "node_modules/fable-metadata/lib", "node_modules/fable-standalone/dist", "node_modules/fable-standalone/dist"

module Util =

Expand Down Expand Up @@ -130,6 +130,7 @@ let copyModules = BuildTask.create "CopyModules" [ npmInstall ] {
)

Shell.copyDir REPL_OUTPUT STANDALONE_DIST (fun _ -> true)
Shell.copyDir "src/Standalone" STANDALONE_SRC (fun f -> f.EndsWith(".fs"))
}

// TODO re-add generate metadata for REPL lib using git submobules
Expand Down Expand Up @@ -197,7 +198,7 @@ let watchApp = BuildTask.create "WatchApp" [ copyModules ] {
Npm.run "start" id
}

let _release = BuildTask.create "Release" [ updatePreludeREPLVersion; buildApp ] {
let _release = BuildTask.create "Release" [ updatePreludeREPLVersion; ] {
let token =
match Environment.environVarOrDefault "GITHUB_TOKEN" "" with
| s when not (System.String.IsNullOrWhiteSpace s) -> s
Expand Down
4 changes: 2 additions & 2 deletions src/App/App.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\node_modules\fable-standalone\src\Interfaces.fs" />
<Compile Include="..\..\node_modules\fable-standalone\src\Worker\Shared.fs" />
<Compile Include="..\Standalone\Interfaces.fs" />
<Compile Include="..\Standalone\Worker\Shared.fs" />
<Compile Include="Libs\Monaco.fs" />
<Compile Include="Libs/ReactDeviceDetect.fs" />
<Compile Include="Prelude.fs" />
Expand Down
2 changes: 1 addition & 1 deletion src/App/Prelude.fs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open Fable.Core

[<RequireQualifiedAccess>]
module Literals =
let [<Literal>] REPL_VERSION = "3.0.4" // Do not edit manually
let [<Literal>] REPL_VERSION = "3.1.1" // Do not edit manually
let [<Literal>] STORAGE_KEY = "fable-repl"
let [<Literal>] MAX_LOGS_LENGTH = 200
// let [<Literal>] HOST =
Expand Down

0 comments on commit 1bce523

Please sign in to comment.