Description:
Add processing for portraits.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r440:5635cfc20136 -

@@ -11,22 +11,31
11 # 'make' by itself merely builds the software:
11 # 'make' by itself merely builds the software:
12 default: $(DEFAULT_RUN)
12 default: $(DEFAULT_RUN)
13
13
14 core-debug: validate ink
14 core-debug: validate ink portraits
15 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1
15 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1
16
16
17 core-release: validate ink
17 core-release: validate ink portraits
18 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -c Release
18 dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -c Release
19
19
20 framework-release: validate ink
20 framework-release: validate ink portraits
21 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Release
21 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Release
22
22
23 framework-debug: validate ink clean-obj
23 framework-debug: validate ink clean-obj portraits
24 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Debug
24 msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Debug
25
25
26
26
27 #PIPELINE
27 #PIPELINE
28
28
29 isometric-park-fna/Content/%.json: isometric-park-fna/Content/%.ink
29 isometric-park-fna/Content/Portraits/converted/%.png: isometric-park-fna/Content/Portraits/%.jpg
30 convert $< -resize 500x500\> -dither FloydSteinberg -colors 8 -colorspace gray $@
31
32 isometric-park-fna/Content/portraits.png: $(shell find -ipath "*isometric-park-fna/Content/Portraits/*.jpg" | sed "s/.jpg/.png/" | sed "s:Portraits/:Portraits/converted/:")
33 # isometric-park-fna/Content/Portraits/converted/%.png
34 montage $^ -background transparent -geometry 300x400 -gravity north PNG8:isometric-park-fna/Content/portraits.png
35
36 portraits: isometric-park-fna/Content/portraits.png
37
38 isometric-park-fna/Content/%.json: $(shell find -ipath "*isometric-park-fna/Content/*.ink")
30 inklecate $< -o $@
39 inklecate $< -o $@
31
40
32 ink: isometric-park-fna/Content/dialog.json
41 ink: isometric-park-fna/Content/dialog.json
You need to be logged in to leave comments. Login now