parent
140a470b78
commit
69b15ce4dd
@ -1,10 +0,0 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN dotnet restore
|
||||
RUN dotnet build -c Release
|
||||
|
||||
CMD ["dotnet", "run", "--no-build", "--configuration", "Release"]
|
@ -0,0 +1,103 @@
|
||||
.PHONY: run build clean quadratic circle numbers recursion factory traverse lambda conditional examples
|
||||
|
||||
# HelloWorld
|
||||
run:
|
||||
cd HelloWorld && dotnet run --project HelloWorld.fsproj
|
||||
|
||||
build:
|
||||
cd HelloWorld && dotnet build
|
||||
|
||||
clean:
|
||||
cd HelloWorld && dotnet clean
|
||||
|
||||
all: build run
|
||||
|
||||
# QuadraticEquation
|
||||
quadratic:
|
||||
cd QuadraticEquation && dotnet run --project QuadraticEquation.fsproj
|
||||
|
||||
build-quadratic:
|
||||
cd QuadraticEquation && dotnet build
|
||||
|
||||
clean-quadratic:
|
||||
cd QuadraticEquation && dotnet clean
|
||||
|
||||
# CircleAndCylinder
|
||||
circle:
|
||||
cd CircleAndCylinder && dotnet run --project CircleAndCylinder.fsproj
|
||||
|
||||
build-circle:
|
||||
cd CircleAndCylinder && dotnet build
|
||||
|
||||
clean-circle:
|
||||
cd CircleAndCylinder && dotnet clean
|
||||
|
||||
# NumberOperations
|
||||
numbers:
|
||||
cd NumberOperations && dotnet run --project NumberOperations.fsproj
|
||||
|
||||
build-numbers:
|
||||
cd NumberOperations && dotnet build
|
||||
|
||||
clean-numbers:
|
||||
cd NumberOperations && dotnet clean
|
||||
|
||||
# RecursionTypes
|
||||
recursion:
|
||||
cd RecursionTypes && dotnet run --project RecursionTypes.fsproj
|
||||
|
||||
build-recursion:
|
||||
cd RecursionTypes && dotnet build
|
||||
|
||||
clean-recursion:
|
||||
cd RecursionTypes && dotnet clean
|
||||
|
||||
# FunctionFactory
|
||||
factory:
|
||||
cd FunctionFactory && dotnet run --project FunctionFactory.fsproj
|
||||
|
||||
build-factory:
|
||||
cd FunctionFactory && dotnet build
|
||||
|
||||
clean-factory:
|
||||
cd FunctionFactory && dotnet clean
|
||||
|
||||
# NumberTraversal
|
||||
traverse:
|
||||
cd NumberTraversal && dotnet run --project NumberTraversal.fsproj
|
||||
|
||||
build-traverse:
|
||||
cd NumberTraversal && dotnet build
|
||||
|
||||
clean-traverse:
|
||||
cd NumberTraversal && dotnet clean
|
||||
|
||||
# LambdaTraversal
|
||||
lambda:
|
||||
cd LambdaTraversal && dotnet run --project LambdaTraversal.fsproj
|
||||
|
||||
build-lambda:
|
||||
cd LambdaTraversal && dotnet build
|
||||
|
||||
clean-lambda:
|
||||
cd LambdaTraversal && dotnet clean
|
||||
|
||||
# ConditionalTraversal
|
||||
conditional:
|
||||
cd ConditionalTraversal && dotnet run --project ConditionalTraversal.fsproj
|
||||
|
||||
build-conditional:
|
||||
cd ConditionalTraversal && dotnet build
|
||||
|
||||
clean-conditional:
|
||||
cd ConditionalTraversal && dotnet clean
|
||||
|
||||
# NumberExamples
|
||||
examples:
|
||||
cd NumberExamples && dotnet run --project NumberExamples.fsproj
|
||||
|
||||
build-examples:
|
||||
cd NumberExamples && dotnet build
|
||||
|
||||
clean-examples:
|
||||
cd NumberExamples && dotnet clean
|
@ -1,2 +0,0 @@
|
||||
// For more information see https://aka.ms/fsharp-console-apps
|
||||
printfn "Hello from F#"
|
Loading…
Reference in new issue