Page MenuHomeDevCentral

Makefile
No OneTemporary

Makefile

# -------------------------------------------------------------
# Makefile for Keruald monorepo
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Keruald
# Description: Generate repository needed files to start dev
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
RM=rm -f
RMDIR=rm -rf
GENERATED_FROM_TEMPLATES=phpcs.xml phpunit.xml
# -------------------------------------------------------------
# Main targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
all: build-dev build-repo
clean: clean-dev clean-repo
regenerate: clean-repo build-repo clean-dev build-dev
# -------------------------------------------------------------
# Build targets for libraries development
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
build-dev: vendor
clean-dev:
${RMDIR} vendor
vendor:
composer update
# -------------------------------------------------------------
# Build targets for monorepo maintenance
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
build-repo: $(GENERATED_FROM_TEMPLATES) composer.json
clean-repo:
${RM} $(GENERATED_FROM_TEMPLATES) composer.json
$(GENERATED_FROM_TEMPLATES):
_utils/templates/resolve.py _templates/$@.in > $@
composer.json:
_utils/templates/generate-compose-json.php > composer.json

File Metadata

Mime Type
text/x-makefile
Expires
Tue, May 13, 16:47 (17 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2566234
Default Alt Text
Makefile (1 KB)

Event Timeline