pass environment to builder functions instead of as an initialization parameter
This commit is contained in:
1 parent
bcfeadeebf
commit
c9f6bdb2e2
5 files changed
+19
-21
No files matched your search
@@ -1,12 +1,9 @@
|
||||
module Rscons
|
||||
class Builder
|
||||
def initialize(env)
|
||||
@env = env
|
||||
end
|
||||
def default_variables(env)
|
||||
{}
|
||||
end
|
||||
def produces?(target, source)
|
||||
def produces?(target, source, env)
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user