mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
feat: add script and workflow step for generating SVG variants from logos
This commit is contained in:
8
Makefile
8
Makefile
@@ -6,7 +6,7 @@ CONTAINER_NAME = slogos-dev
|
||||
DEV_PORT = 5006
|
||||
|
||||
# Main targets
|
||||
.PHONY: all build start stop restart logs clean scan-logos dev rebuild favicon deps-favicon build-with-favicons sync-packages convert-colors
|
||||
.PHONY: all build start stop restart logs clean scan-logos dev rebuild favicon deps-favicon build-with-favicons sync-packages convert-colors generate-svg-variants
|
||||
|
||||
all: build start
|
||||
|
||||
@@ -75,3 +75,9 @@ update-lock:
|
||||
@echo "Updating package-lock.json to match package.json..."
|
||||
$(DOCKER_COMPOSE) -f compose.dev.yml run --rm $(CONTAINER_NAME) npm install
|
||||
@echo "Package lock file has been updated"
|
||||
|
||||
# Generate SVG variants with color sets
|
||||
generate-svg-variants:
|
||||
@echo "Generating SVG variants with color sets..."
|
||||
$(DOCKER_COMPOSE) -f compose.dev.yml run --rm $(CONTAINER_NAME) node scripts/generate-svg-variants.js
|
||||
@echo "SVG variants have been generated"
|
||||
|
||||
Reference in New Issue
Block a user