Drop support for 5-argument form of Builder#run - #84
This commit is contained in:
1 parent
b41a368da1
commit
7992450383
12 files changed
+36
-93
No files matched your search
@@ -1,11 +1,11 @@
|
||||
class MySource < Rscons::Builder
|
||||
def run(target, sources, cache, env, vars)
|
||||
File.open(target, 'w') do |fh|
|
||||
def run(options)
|
||||
File.open(@target, 'w') do |fh|
|
||||
fh.puts <<EOF
|
||||
#define THE_VALUE 5678
|
||||
EOF
|
||||
end
|
||||
target
|
||||
@target
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user