Add env() method to create environments. Process all environments created at build script top level before executing any autoconf-enabled tasks, or if no tasks are specified by the user.
10 lines
176 B
Ruby
10 lines
176 B
Ruby
env do |env|
|
|
env.Directory("copy")
|
|
env.Copy("copy", "copy_directory.rb")
|
|
|
|
env.Copy("noexist/src", "src")
|
|
|
|
env.Directory("exist/src")
|
|
env.Copy("exist/src", "src")
|
|
end
|