Skip to content

Commit 35c0ff0

Browse files
MarkVillacampaWatson1978
authored andcommitted
Remove 'bundle exec' and add --trace support when cleaning targets
1 parent 4023bc4 commit 35c0ff0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/motion/project/target/extension_target.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ def codesign(platform)
146146
end
147147

148148
def clean
149-
system("cd #{@full_path} && #{environment_variables} bundle exec rake clean")
149+
args = ''
150+
args << " --trace" if App::VERBOSE
151+
system("cd #{@full_path} && #{environment_variables} rake clean #{args}")
150152
end
151153

152154
def build_dir(config, platform)

lib/motion/project/target/framework_target.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def codesign(platform)
119119
end
120120

121121
def clean
122-
system("cd #{@full_path} && #{environment_variables} bundle exec rake clean")
122+
args = ''
123+
args << " --trace" if App::VERBOSE
124+
system("cd #{@full_path} && #{environment_variables} rake clean #{args}")
123125
end
124126

125127
def build_dir(config, platform)

0 commit comments

Comments
 (0)