diff --git a/tests/C/test-18-path-characters/bake/Bakefile b/tests/C/test-18-path-characters/bake/Bakefile new file mode 100644 index 0000000..aa30243 --- /dev/null +++ b/tests/C/test-18-path-characters/bake/Bakefile @@ -0,0 +1,21 @@ +all: ~/temp/test.txt /tmp/test.txt ./path/with/slashes/test.txt path-with-dashes.txt path_with_underscores.txt + +~/temp/test.txt: + mkdir -p ~/temp + echo "Content in home directory" > ~/temp/test.txt + +/tmp/test.txt: + echo "Content in tmp directory" > /tmp/test.txt + +./path/with/slashes/test.txt: + mkdir -p ./path/with/slashes + echo "Content in path with slashes" > ./path/with/slashes/test.txt + +path-with-dashes.txt: + echo "Content in file with dashes" > path-with-dashes.txt + +path_with_underscores.txt: + echo "Content in file with underscores" > path_with_underscores.txt + +clean: + rm -rf ~/temp/test.txt /tmp/test.txt ./path/with/slashes path-with-dashes.txt path_with_underscores.txt \ No newline at end of file diff --git a/tests/C/test-18-path-characters/make/Makefile b/tests/C/test-18-path-characters/make/Makefile new file mode 100644 index 0000000..aa30243 --- /dev/null +++ b/tests/C/test-18-path-characters/make/Makefile @@ -0,0 +1,21 @@ +all: ~/temp/test.txt /tmp/test.txt ./path/with/slashes/test.txt path-with-dashes.txt path_with_underscores.txt + +~/temp/test.txt: + mkdir -p ~/temp + echo "Content in home directory" > ~/temp/test.txt + +/tmp/test.txt: + echo "Content in tmp directory" > /tmp/test.txt + +./path/with/slashes/test.txt: + mkdir -p ./path/with/slashes + echo "Content in path with slashes" > ./path/with/slashes/test.txt + +path-with-dashes.txt: + echo "Content in file with dashes" > path-with-dashes.txt + +path_with_underscores.txt: + echo "Content in file with underscores" > path_with_underscores.txt + +clean: + rm -rf ~/temp/test.txt /tmp/test.txt ./path/with/slashes path-with-dashes.txt path_with_underscores.txt \ No newline at end of file