added test data to distribution
This commit is contained in:
6
post_build.sh
Normal file
6
post_build.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
CURRENT_DIR=$(dirname "$0")
|
||||
CURRENT_DIR=$(realpath ${CURRENT_DIR})
|
||||
|
||||
rsync -av --progress ${CURRENT_DIR}/repertory/repertory_test/data/ ${PROJECT_DIST_DIR}/data/
|
@@ -71,6 +71,6 @@ auto get_test_dir() -> std::string {
|
||||
if (not dir.empty()) {
|
||||
return utils::path::absolute(dir);
|
||||
}
|
||||
return utils::path::absolute(utils::path::combine("..", {".."}));
|
||||
return utils::path::absolute(utils::path::combine(".", "test_data"));
|
||||
}
|
||||
} // namespace repertory
|
||||
|
@@ -1 +1 @@
|
||||
test
|
||||
test
|
@@ -1 +1 @@
|
||||
moose
|
||||
moose
|
Reference in New Issue
Block a user