DotTiled/Makefile

17 lines
633 B
Makefile
Raw Normal View History

2024-08-09 23:12:45 +02:00
test:
2024-08-16 23:27:15 +02:00
dotnet test src/DotTiled.sln
2024-08-09 23:12:45 +02:00
2024-08-17 00:07:52 +02:00
docs-serve: docs-build
docfx docs/docfx.json --serve
docs-build:
cp README.md docs/index.md
docfx docs/docfx.json
2024-08-11 12:10:56 +02:00
BENCHMARK_SOURCES = DotTiled.Benchmark/Program.cs DotTiled.Benchmark/DotTiled.Benchmark.csproj
BENCHMARK_OUTPUTDIR = DotTiled.Benchmark/BenchmarkDotNet.Artifacts
2024-08-09 23:12:45 +02:00
.PHONY: benchmark
2024-08-11 12:10:56 +02:00
benchmark: $(BENCHMARK_OUTPUTDIR)/results/MyBenchmarks.MapLoading-report-github.md
2024-08-09 23:12:45 +02:00
2024-08-11 12:10:56 +02:00
$(BENCHMARK_OUTPUTDIR)/results/MyBenchmarks.MapLoading-report-github.md: $(BENCHMARK_SOURCES)
dotnet run --project DotTiled.Benchmark/DotTiled.Benchmark.csproj -c Release -- $(BENCHMARK_OUTPUTDIR)