Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Thumbs.db
# PHP CS Fixer cache
.php-cs-fixer.cache

# Local dev env (cwm-build-tools build.properties)
build.properties

# Build outputs (generated from build/media_source/ via npm run build)
media/lib_cwmscripture/js/*.min.js
media/lib_cwmscripture/js/*.min.js.map
Expand Down
42 changes: 42 additions & 0 deletions build.properties.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
; build.properties — local Joomla installs for cwm-build-tools dev commands.
;
; This file is the per-developer mate to cwm-build.config.json:
; - cwm-build.config.json (committed) — what the project IS:
; extension layout, manifest paths, optional dev.links[].
; - build.properties (gitignored) — where YOUR dev environment runs:
; paths to your Joomla installs, DB credentials, admin credentials.
;
; To set up the first time:
; cp build.properties.tmpl build.properties
; Then either edit by hand or run the wizard:
; composer setup
;
; ALWAYS keep this gitignored. It contains DB and admin passwords.

; Comma-separated list of install ids — must match the section names below.
; Add or remove as needed (j5, j6, j7, ...).
installs = j5, j6

[j5]
path = /path/to/joomla5
url = https://j5-dev.local
version = 5.4.2
db_host = localhost
db_user =
db_pass =
db_name =
admin_user = admin
admin_pass = admin
admin_email = admin@example.com

[j6]
path = /path/to/joomla6
url = https://j6-dev.local
version = 6.0.0
db_host = localhost
db_user =
db_pass =
db_name =
admin_user = admin
admin_pass = admin
admin_email = admin@example.com
12 changes: 10 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"ext-mbstring": "*"
},
"require-dev": {
"cwm/build-tools": "^0.3.2@alpha",
"cwm/build-tools": "^0.4@alpha",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^11.0"
},
Expand All @@ -61,7 +61,15 @@
"ars-list": "cwm-ars-list",
"changelog": "cwm-changelog",
"sync-languages": "cwm-sync-languages",
"sync-configs": "cwm-sync-configs"
"sync-configs": "cwm-sync-configs",

"setup": "cwm-setup",
"link": "cwm-link",
"link-check": "cwm-link-check",
"clean": "cwm-clean",
"verify": "cwm-verify",
"joomla-install": "cwm-joomla-install",
"joomla-latest": "cwm-joomla-latest"
},
"autoload-dev": {
"psr-4": {
Expand Down
Loading