Store build targets, sources, and user dependencies internally as absolute paths
This commit is contained in:
1 parent
a3d739c472
commit
13bd827d57
8 files changed
+69
-51
No files matched your search
@@ -0,0 +1,14 @@
|
||||
class B < Builder
|
||||
def run(*args)
|
||||
puts @target
|
||||
true
|
||||
end
|
||||
end
|
||||
|
||||
env do |env|
|
||||
env.add_builder(B)
|
||||
env.B("one", File.expand_path("two"))
|
||||
env.B("two")
|
||||
env.B("three")
|
||||
env.depends("two", File.expand_path("three"))
|
||||
end
|
||||
Reference in new issue
Block a user