Show More
Commit Description:
Add missing component and message.
Commit Description:
Add missing component and message.
File last commit:
Show/Diff file:
Action:
Makefile
124 lines | 4.6 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
Add packages target to Makefile.
r689 ##
#Update nuget with nuget update -self
packages:
nuget restore isometric-park-fna/packages.config -PackagesDirectory packages/
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
Experiment with merged set.
r524 ##Paks
##I do some dubious things here to adopt Make to a workflow that generates multiple output files per input file, which
##is not Make's strong suit.
isometric-park-fna/Content/Pak64/split/%.png: isometric-park-fna/Content/Pak64/%.png
convert $< -transparent '#e7ffff' -crop 64x64 isometric-park-fna/Content/Pak64/split/$*"%02d.png"
cp isometric-park-fna/Content/Pak64/split/$*00.png $@
isometric-park-fna/Content/pak64_tileset.png: $(shell find -ipath "*isometric-park-fna/Content/Pak64/*.png" -and -not -ipath "*split*" | sed "s:Pak64/:Pak64/split/:" |sort)
rm $^
montage isometric-park-fna/Content/Pak64/split/* -background transparent -tile 5 -geometry +0+0 -gravity north PNG8:$@
touch $^
pak: isometric-park-fna/Content/pak64_tileset.png
## Merged
isometric-park-fna/Content/merged_tileset.png: isometric-park-fna/Content/pak64_tileset.png
Add fence and tower.
r561 montage isometric-park-fna/Content/part4_tileset.png $^ isometric-park-fna/Content/remos_trees2.png isometric-park-fna/Content/64x64_Objects_2.png isometric-park-fna/Content/rubberduck_parts_tower.png -background transparent -geometry +0+0 -tile 1x PNG:isometric-park-fna/Content/merged_tileset.png
Experiment with merged set.
r524
merged: isometric-park-fna/Content/merged_tileset.png
##Portraits
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)