Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
- name: Install just
uses: extractions/setup-just@v3

- name: Install uv
run: pipx install uv

- name: Restore dependencies
run: just restore
run: |
just setup
just restore

- name: Install Python dependencies
run: |
pipx install uv
just install-python

#- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion examples/fastapi/FastApi.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
Expand Down
10 changes: 6 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ clean-all: clean
# Build F# source to Python using Fable
build: clean
mkdir -p {{build_path}}
dotnet build {{src_path}}
{{fable}} {{src_path}} --lang Python --outDir {{build_path}}

# Compile F# source using dotnet (without Fable transpilation)
Expand Down Expand Up @@ -79,9 +80,13 @@ format-check:
dotnet fantomas {{src_path}} -r --check
dotnet fantomas {{test_path}} -r --check

# Install .NET tools (Fable, Fantomas) and Python dependencies
setup:
dotnet tool restore
uv sync

# Restore all dependencies
restore:
dotnet tool restore
dotnet paket install
dotnet restore {{src_path}}
dotnet restore {{test_path}}
Expand All @@ -90,9 +95,6 @@ restore:
install-python:
uv sync

# Full setup: restore .NET and Python dependencies
setup: restore install-python

# Watch for changes and rebuild (useful during development)
watch:
{{fable}} watch {{src_path}} --lang Python --outDir {{build_path}}
Expand Down
1 change: 1 addition & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source https://api.nuget.org/v3/index.json
storage: none
framework: netstandard2.0, netstandard2.1, net6.0, net8.0, net9.0, net10.0

nuget FSharp.Core >= 5.0.0 lowest_matching: true
nuget Fable.Core 5.0.0-beta.4

group Test
Expand Down
2 changes: 1 addition & 1 deletion paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NUGET
remote: https://api.nuget.org/v3/index.json
Fable.Core (5.0.0-beta.4)
FSharp.Core (>= 4.7.2)
FSharp.Core (10.0.100)
FSharp.Core (5.0)

GROUP Examples
STORAGE: NONE
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": {
".": {
"release-type": "simple",
"release-as": "5.0.0-alpha.20",
"release-as": "5.0.0-alpha.20.1",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"include-component-in-tag": false,
Expand Down