Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8321608
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
Makefile
View Options
# -------------------------------------------------------------
# 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
Details
Attached
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)
Attached To
Mode
rKERUALD Keruald libraries development repository
Attached
Detach File
Event Timeline
Log In to Comment