Skip to content

Commit

Permalink
Fix line-break in menu selection for build and watch tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatz committed Nov 27, 2023
1 parent 153acee commit c198fa5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file.
---
## Latest Release

### 1.4.2
- fix line-break in menu selection for build and watch tasks

### 1.4.1
- add Support for $DDEV_COMPOSER_ROOT `(e.g., ./magento2/app/design/..)``
- fix node-modules repair-functions for corrupt grunt installations
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Submit your [Feature Request](https://github.com/dermatz/ddev-woodoo-buildtools-
**1 . Get the latest Version with following command in your ddev project root**
##### Latest stable version (recommended)
```shell
ddev get https://github.com/dermatz/ddev-woodoo-buildtools-magento/archive/refs/tags/1.4.1.tar.gz
ddev get https://github.com/dermatz/ddev-woodoo-buildtools-magento/archive/refs/tags/1.4.2.tar.gz
```
##### Latest Developer-version (Main-Branch) - can be instable!
```shell
Expand Down
2 changes: 1 addition & 1 deletion commands/web/woodoo_components/build
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if [[ "$1" == "build" && "$2" == "" || "$1" == "b" && "$2" == "" || "$1" == "bui

# if more then one theme is available, ask if all themes should be build
if [[ $(countThemesinConfig) -gt 1 && $2 != '-f' ]]; then
THEMES_TO_BUILD=$(gum choose --cursor-prefix "[ ] " --unselected-prefix "[ ] " --selected-prefix "[✓] " --no-limit "$THEMES_IN_CONFIG";)
THEMES_TO_BUILD=$(gum choose --cursor-prefix "[ ] " --unselected-prefix "[ ] " --selected-prefix "[✓] " --no-limit $THEMES_IN_CONFIG;)
else
THEMES_TO_BUILD=$THEMES_IN_CONFIG
fi
Expand Down
2 changes: 1 addition & 1 deletion commands/web/woodoo_components/variables
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#ddev-generated - Do not modify this file; your modifications will be overwritten.
WOODOO_VERSION="1.4.1"
WOODOO_VERSION="1.4.2"
LATEST_WOODOO_VERSION=$(curl -s https://api.github.com/repos/dermatz/ddev-woodoo-buildtools-magento/releases/latest | grep tag_name | cut -d '"' -f 4)

PROJECT_CONFIG_FILE=".ddev/config-themes.yaml"
Expand Down
2 changes: 1 addition & 1 deletion commands/web/woodoo_components/watch
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if [[ "$1" == "watch" && "$2" == "" || "$1" == "w" && "$2" == "" ]]; then

# if more then one theme is available, ask if all themes should be build
if [[ $(countThemesinConfig) -gt 1 && $2 != '-f' ]]; then
THEMES_TO_WATCH=$(gum choose --cursor-prefix "[ ] " --unselected-prefix "[ ] " --selected-prefix "[✓] " "$THEMES_IN_CONFIG";)
THEMES_TO_WATCH=$(gum choose --cursor-prefix "[ ] " --unselected-prefix "[ ] " --selected-prefix "[✓] " $THEMES_IN_CONFIG;)
else
THEMES_TO_WATCH=$THEMES_IN_CONFIG
fi
Expand Down

0 comments on commit c198fa5

Please sign in to comment.