Show More
Commit Description:
Attribute Iosevka and fix links.
Commit Description:
Attribute Iosevka and fix links.
Show/Diff file:
Action:
Makefile
91 lines | 3.2 KiB | text/x-makefile | MakefileLexer
Add Makefile.
r105
Add better support for .NET Core builds.
r519 CORE_SOLUTION = ./isometric-park-fna/isometric-park-fna-core.csproj #./isometric-park-fna-core.sln
Add Makefile.
r105 FRAMEWORK_SOLUTION = ./isometric-park-fna.sln
Parameterize make run.
r371 DEFAULT_RUN = framework-debug
Reorganize Makefile.
r372 #BUILD
# While I frequently build and run using make, the convention is that running
# 'make' by itself merely builds the software:
default: $(DEFAULT_RUN)
Add Makefile.
r105
Use Game.Exit()....
r463 core-debug: validate ink clean-package portraits
Add Makefile.
r105 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1
Use Game.Exit()....
r463 core-release: validate ink clean-package portraits
Add to Makefile.
r136 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -c Release
Add Makefile.
r105
Add processing for portraits.
r440 framework-release: validate ink portraits
Add Makefile.
r105 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Release
Add processing for portraits.
r440 framework-debug: validate ink clean-obj portraits
Add count.
r374 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Debug
Add Makefile.
r105
Add to Makefile.
r136
Add Inklecate to Makefile.
r416 #PIPELINE
Add processing for portraits.
r440 isometric-park-fna/Content/Portraits/converted/%.png: isometric-park-fna/Content/Portraits/%.jpg
convert $< -resize 500x500\> -dither FloydSteinberg -colors 8 -colorspace gray $@
Add portraits.
r443 isometric-park-fna/Content/portraits.png: $(shell find -ipath "*isometric-park-fna/Content/Portraits/*.jpg" | sed "s/.jpg/.png/" | sed "s:Portraits/:Portraits/converted/:" |sort)
Add processing for portraits.
r440 # isometric-park-fna/Content/Portraits/converted/%.png
montage $^ -background transparent -geometry 300x400 -gravity north PNG8:isometric-park-fna/Content/portraits.png
portraits: isometric-park-fna/Content/portraits.png
isometric-park-fna/Content/%.json: $(shell find -ipath "*isometric-park-fna/Content/*.ink")
Handle broken packages and fix inklecate.
r455 inklecate -o $@ $<
Add Inklecate to Makefile.
r416
ink: isometric-park-fna/Content/dialog.json
Reorganize Makefile.
r372 #RUN
Add count.
r374 run-core-debug:
Add CI support....
r341 cd isometric-park-fna/bin/Debug/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll
Add to Makefile.
r136
Add count.
r374 run-core-release:
Add CI support....
r341 cd isometric-park-fna/bin/Release/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll
Add count.
r374 run-core-release-xvfb:
Add CI support....
r341 cd isometric-park-fna/bin/Release/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR +extension GLX +extension RENDER" -- dotnet ./isometric-park-fna.dll
Add to Makefile.
r136
Some tweaks to ensure it builds on framework.
r272 run-framework-release:
cd isometric-park-fna/bin/Release/; LD_LIBRARY_PATH="../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../fnalibs/osx" mono isometric-park-fna.exe
Parameterize make run.
r371 run-framework-debug:
Ensure framework builds' stack traces display line numbers.
r398 cd isometric-park-fna/bin/Debug/; LD_LIBRARY_PATH="../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../fnalibs/osx" mono --debug isometric-park-fna.exe
Some tweaks to ensure it builds on framework.
r272
Add story.
r139 # lint:
Reorganize Makefile.
r372 # yamllint -d relaxed isometric-park-fna/Content/news_items.yaml
Add count.
r374 count:
tokei -e isometric-park-fna/packages -e isometric-park-fna/bin -e isometric-park-fna/build_log.txt -e isometric-park-fna/obj scripts/ isometric-park-fna/
Reorganize Makefile.
r372
clean-obj:
Ensure framework builds' stack traces display line numbers.
r398 #If this folder doesn't exist and we get an error, that's okay
-rm -r isometric-park-fna/obj/
Add story.
r139
Handle broken packages and fix inklecate.
r455 clean-package:
Update TODOs.
r474 #If this folder doesn't exist, that's okay
Handle broken packages and fix inklecate.
r455 -rm -r isometric-park-fna/packages/* packages/*
Add validation.
r415 # VALIDATE
validate-yaml:
csi scripts/LoadYaml.csx
validate-ink:
csi scripts/LoadInk.csx
validate: validate-yaml validate-ink
Add Makefile.
r105 #CONVENIENCE
# Just using framework for releases since I know it works for now:
release: framework-release
Parameterize make run.
r371 run: $(DEFAULT_RUN) run-$(DEFAULT_RUN)