-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'eap/main'
- Loading branch information
Showing
198 changed files
with
8,700 additions
and
5,769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/bash | ||
|
||
## Description: Local TYPO3 frontend sources build | ||
## Usage: run-frontend {install|develop|build|watchjs} | ||
## Example: "ddev update-to develop" | ||
## ProjectTypes: typo3 | ||
|
||
CURRENT_PACKAGE_COMMAND="npm" | ||
FRONTEND_DIRECTORY="Build" | ||
|
||
moveToFrontendDir() { | ||
cd $DDEV_DOCROOT/../../$FRONTEND_DIRECTORY | ||
echo "Move to \"${FRONTEND_DIRECTORY}\" Directory" | ||
} | ||
|
||
install() { | ||
moveToFrontendDir | ||
$CURRENT_PACKAGE_COMMAND install | ||
} | ||
|
||
build() { | ||
moveToFrontendDir | ||
$CURRENT_PACKAGE_COMMAND run build | ||
echo "Frontend build done." | ||
} | ||
|
||
watchjs() { | ||
moveToFrontendDir | ||
$CURRENT_PACKAGE_COMMAND run watchjs | ||
} | ||
|
||
develop() { | ||
moveToFrontendDir | ||
$CURRENT_PACKAGE_COMMAND run develop | ||
echo "Frontend build done." | ||
} | ||
|
||
case "$1" in | ||
build) | ||
build | ||
;; | ||
install) | ||
install | ||
;; | ||
watchjs) | ||
watchjs | ||
;; | ||
develop) | ||
watchjs | ||
;; | ||
*) | ||
echo "Usage: ddev run-frontend {install|develop|build|watchjs}" >&2 | ||
exit 0 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/bash | ||
|
||
## Description: Local TYPO3 version switcher | ||
## Usage: update-to {9|10|11} | ||
## Example: "ddev update-to 9" | ||
## Usage: update-to {11} | ||
## Example: "ddev update-to 11" | ||
## ProjectTypes: typo3 | ||
|
||
bash ./Build/Scripts/composer-for-core-version.sh $* |
Oops, something went wrong.