Add FileUtils class methods to script DSL - close #144

This commit is contained in:
josh committed 2022-01-17 16:41:36 -05:00
1 parent 034dbcd9a6
commit c1dcfa297f
4 files changed
+79

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
build do
mkdir "foo"
cd "foo" do
mkdir_p ["bar/baz", "bar/booz"]
end
mv "foo/bar", "foobar"
rmdir "foo"
touch "foobar/booz/a.txt"
cp "foobar/booz/a.txt", "foobar/baz/b.txt"
rm_rf "foobar/booz"
end