Skip to content

Commit

Permalink
trying to reporoduce #20
Browse files Browse the repository at this point in the history
  • Loading branch information
podusowski committed Apr 4, 2015
1 parent c047cd4 commit a9dba57
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/file_gets_deleted_after_build/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
. ../common.sh

rm -rf __build
mkdir -p __build

pushd __build

echo "// nothing" > header.hpp
echo -e "#include \"header.hpp\"\nint main() {}" > test.cpp
echo "target application test sources(test.cpp)" > test.pake

assert $pake test
assert __build/__default/test

echo "int main() {}" > test.cpp
rm header.hpp

assert $pake test
assert __build/__default/test

popd

rm -rf __build

0 comments on commit a9dba57

Please sign in to comment.