Skip to content

Commit 5529f54

Browse files
committed
Ensure rake builds are stamped
1 parent c18cecf commit 5529f54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rake-tasks/buck.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def self.buck_cmd(command, args, &block)
5959

6060
args ||= []
6161
buck.push(command)
62+
buck.push('--stamp-build=detect')
6263
buck.push(*args)
6364
puts buck.join(' ')
6465

@@ -138,7 +139,7 @@ def buck(*args, &block)
138139

139140
task = Rake::Task.task_defined?(name) ? Rake::Task[name] : Rake::Task.define_task(name)
140141
task.enhance prereqs do
141-
Buck.buck_cmd('build', [name])
142+
Buck.buck_cmd('build', [name])
142143
block.call if block
143144
end
144145

0 commit comments

Comments
 (0)