Description:
Add processing for portraits.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -11,22 +11,31 | |||
|
11 | 11 | # 'make' by itself merely builds the software: |
|
12 | 12 | default: $(DEFAULT_RUN) |
|
13 | 13 | |
|
14 | core-debug: validate ink | |
|
14 | core-debug: validate ink portraits | |
|
15 | 15 | dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 |
|
16 | 16 | |
|
17 | core-release: validate ink | |
|
17 | core-release: validate ink portraits | |
|
18 | 18 | dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -c Release |
|
19 | 19 | |
|
20 | framework-release: validate ink | |
|
20 | framework-release: validate ink portraits | |
|
21 | 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 | 24 | msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Debug |
|
25 | 25 | |
|
26 | 26 | |
|
27 | 27 | #PIPELINE |
|
28 | 28 | |
|
29 |
isometric-park-fna/Content/ |
|
|
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 | 39 | inklecate $< -o $@ |
|
31 | 40 | |
|
32 | 41 | ink: isometric-park-fna/Content/dialog.json |
You need to be logged in to leave comments.
Login now