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 02ae43b commit 45654d6Copy full SHA for 45654d6
test/spec/config_spec.rb
@@ -27,4 +27,18 @@
27
end
28
29
30
+
31
+ it 'respects BUILD_COMMAND environment variable override' do
32
+ new_default_hatchet_runner('lein-2.x-with-uberjar').tap do |app|
33
+ app.before_deploy do
34
+ app.set_config('BUILD_COMMAND' => 'echo "Custom build command executed" && lein deps')
35
+ end
36
37
+ app.deploy do
38
+ expect(clean_output(app.output)).to include('Running: echo "Custom build command executed" && lein deps')
39
+ expect(clean_output(app.output)).to include('Custom build command executed')
40
+ expect(clean_output(app.output)).not_to include('Running: lein uberjar')
41
42
43
44
0 commit comments