We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7131fd7 commit 70ec57bCopy full SHA for 70ec57b
1 file changed
lib/solidus_dev_support/templates/extension/bin/sandbox.tt
@@ -32,6 +32,13 @@ else
32
fi
33
echo "~~> Using branch $BRANCH of solidus"
34
35
+if [ -z $SOLIDUS_FRONTEND ]
36
+then
37
+ echo "~~> Use 'export SOLIDUS_FRONTEND=[solidus_frontend|solidus_starter_frontend]' to control the Solidus frontend"
38
+ SOLIDUS_FRONTEND="solidus_frontend"
39
+fi
40
+echo "~~> Using branch $SOLIDUS_FRONTEND as the solidus frontend"
41
+
42
extension_name="<%= file_name %>"
43
44
# Stay away from the bundler env of the containing extension.
@@ -80,6 +87,7 @@ unbundled bundle exec rails generate solidus:install \
80
87
--enforce_available_locales=true \
81
88
--with-authentication=false \
82
89
--payment-method=none \
90
+ --frontend=${SOLIDUS_FRONTEND} \
83
91
$@
84
92
85
93
unbundled bundle exec rails generate solidus:auth:install
0 commit comments