feat(fsharp): Fable browser platform, snake and pong pages, build-web.sh
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
527b2cd157
commit
a7a4cb5b2a
@@ -0,0 +1,33 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<!-- Fable project for the browser pages: compiles ../src (the student's code) plus the browser glue to JavaScript.
|
||||
Build with ../build-web.sh; it is never part of the .NET test build. -->
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<!-- FS0046: `pure` is reserved for future use by F#; the course keeps the name used by every track. -->
|
||||
<NoWarn>$(NoWarn);FS0046</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="../src/Util.fs" />
|
||||
<Compile Include="../src/Model.fs" />
|
||||
<Compile Include="../src/Rules.fs" />
|
||||
<Compile Include="../src/Random.fs" />
|
||||
<Compile Include="../src/Spawn.fs" />
|
||||
<Compile Include="../src/Game.fs" />
|
||||
<Compile Include="../src/View.fs" />
|
||||
<Compile Include="../src/IO.fs" />
|
||||
<Compile Include="../src/Stream.fs" />
|
||||
<Compile Include="../src/Input.fs" />
|
||||
<Compile Include="../src/App.fs" />
|
||||
<Compile Include="../src/Runtime.fs" />
|
||||
<Compile Include="../src/Pong/Model.fs" />
|
||||
<Compile Include="../src/Pong/Rules.fs" />
|
||||
<Compile Include="../src/Pong/View.fs" />
|
||||
<Compile Include="../src/Pong/App.fs" />
|
||||
<Compile Include="BrowserPlatform.fs" />
|
||||
<Compile Include="SnakeMain.fs" />
|
||||
<Compile Include="PongMain.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Fable.Core" Version="5.6.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user