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.
7 lines
111 B
Ruby
7 lines
111 B
Ruby
env do |env|
|
|
File.open("foo.xyz", "wb") do |fh|
|
|
fh.puts("hi")
|
|
end
|
|
env.Object("foo.o", "foo.xyz")
|
|
end
|