mirror of
https://github.com/daylinmorgan/logo.git
synced 2024-12-21 22:10:45 -06:00
fix: switch back to inkscape for transparent pngs
This commit is contained in:
parent
575a426906
commit
16fa54453c
2 changed files with 6 additions and 3 deletions
3
.github/workflows/build-publish.yml
vendored
3
.github/workflows/build-publish.yml
vendored
|
@ -23,6 +23,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get Inkscape
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y inkscape
|
||||||
|
|
||||||
- name: Setup PDM
|
- name: Setup PDM
|
||||||
uses: pdm-project/setup-pdm@v2
|
uses: pdm-project/setup-pdm@v2
|
||||||
|
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -19,8 +19,8 @@ all:
|
||||||
## generate all of the logo pngs
|
## generate all of the logo pngs
|
||||||
pngs: $(PNGS)
|
pngs: $(PNGS)
|
||||||
|
|
||||||
./docs/png/%.png: ./docs/svg/%.svg
|
docs/png/%.png: docs/svg/%.svg
|
||||||
convert $< -scale 1024 $@
|
@inkscape --export-filename=$@ $<
|
||||||
|
|
||||||
.PHONY: logos
|
.PHONY: logos
|
||||||
## generate all of the logo svgs
|
## generate all of the logo svgs
|
||||||
|
@ -61,4 +61,4 @@ help: ## try `make help`
|
||||||
if (helpMessage) { helpCommand = substr($$1, 0, index($$1, ":")-1); \
|
if (helpMessage) { helpCommand = substr($$1, 0, index($$1, ":")-1); \
|
||||||
helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \
|
helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \
|
||||||
printf "\033[36m%-9s\033[0m - %s\n", \
|
printf "\033[36m%-9s\033[0m - %s\n", \
|
||||||
helpCommand, helpMessage;}} { lastLine = $$0 }' $(MAKEFILE_LIST)
|
helpCommand, helpMessage;}} { lastLine = $$0 }' $(MAKEFILE_LIST)
|
||||||
|
|
Loading…
Reference in a new issue