You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
If this path or `config.#{fetch(:stage)}.txt` does not exist, the task will be skipped for this path.
81
+
82
+
A project-wide configuration file with the default filename `config.txt` is created, this name can be configured:
83
+
84
+
{% highlight ruby %}
85
+
set :typoscript_config_file, 'filename.txt'
86
+
{% endhighlight %}
87
+
88
+
### Usage
89
+
90
+
{% highlight shell-session %}
91
+
cap <stage> typo3:cms:typoscript:merge_configs[:typoscript_config_paths,:typoscript_config_file]
92
+
{% endhighlight %}
93
+
This task is called by merge_config_in_base_path, so you may not need to call it yourself.
94
+
95
+
### Output
96
+
{% highlight shell-session %}
97
+
cap dev typo3:cms:typoscript:merge_configs["typo3conf/ext/dkdeploy/res/demo1/typoscript/constants typo3conf/ext/dkdeploy/res/demo2/typoscript/constants"]
Merged /var/www/dkdeploy/current/typo3conf/ext/dkdeploy/res/demo1/typoscript/constants/Stages/config.dev.txt with /var/www/dkdeploy/current/typo3conf/ext/dkdeploy/res/demo1/typoscript/constants/config.txt.
Merged /var/www/dkdeploy/current/typo3conf/ext/dkdeploy/res/demo2/typoscript/constants/Stages/config.dev.txt with /var/www/dkdeploy/current/typo3conf/ext/dkdeploy/res/demo2/typoscript/constants/config.txt.
109
+
{% endhighlight %}
110
+
111
+
## merge\_pagets
112
+
68
113
### Configuration
69
114
70
115
TODO
@@ -77,15 +122,36 @@ TODO
77
122
78
123
TODO
79
124
80
-
## merge\_pagets
125
+
## merge\_config\_in\_base\_path
126
+
127
+
Merges all stage-specific remote config files in a given base path into a project-wide configuration file by calling `merge_configs`.
81
128
82
129
### Configuration
83
130
84
-
TODO
131
+
Variables:
132
+
133
+
{% highlight ruby %}
134
+
:typoscript_config_base_path
135
+
:typoscript_config_file
136
+
{% endhighlight %}
137
+
138
+
The default for `:typoscript_config_file` is `config.txt`, but may be modified:
139
+
140
+
{% highlight ruby %}
141
+
set :typoscript_config_file, 'filename.txt'
142
+
{% endhighlight %}
143
+
144
+
The default for :typoscript_config_base_path` is .`, but may be modified:
145
+
146
+
{% highlight ruby %}
147
+
set :typoscript_config_base_path, 'customer_extension'
148
+
{% endhighlight %}
85
149
86
150
### Usage
87
151
88
-
TODO
152
+
{% highlight shell-session %}
153
+
cap <stage> typo3:cms:typoscript:merge_config_in_base_path[:typoscript_config_base_path,:typoscript_config_file]
0 commit comments