-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·16 lines (12 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: help repl
default: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " help to see this message"
@echo " repl to launch CSharpRepl with Emik.Morsels as an embedded dependency"
@echo " Snippets/REPL.csx to concatenate all of the source files into one large file a REPL environment could read"
repl: Snippets/REPL.csx
command -v csharprepl || dotnet tool install -g csharprepl
csharprepl -r "nuget: CommunityToolkit.Common, 8.2.2" "nuget: CommunityToolkit.Diagnostics, 8.2.2" "nuget: CommunityToolkit.HighPerformance, 8.2.2" "nuget: Emik.Results, 4.0.0" "nuget: FastGenericNew, 3.1.0-preview1" "nuget: JetBrains.Annotations, 2023.3.0" "nuget: TextCopy, 6.2.1" "nuget: Serilog, 3.1.2-dev-02097" "nuget: Serilog.Formatting.Compact, 2.0.0" "nuget: Serilog.Sinks.Console, 5.0.1" "nuget: Serilog.Sinks.File, 5.0.1-dev-00972" "$(realpath Snippets/REPL.csx)"
Snippets/REPL.csx: Snippets/REPL.tt $(shell find Compile/Source/References/Emik -type f -name '*.cs')
t4 Snippets/REPL.tt