added test data to distribution
This commit is contained in:
parent
12c7c48b20
commit
2e6ecf8ddb
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()) {
|
if (not dir.empty()) {
|
||||||
return utils::path::absolute(dir);
|
return utils::path::absolute(dir);
|
||||||
}
|
}
|
||||||
return utils::path::absolute(utils::path::combine("..", {".."}));
|
return utils::path::absolute(utils::path::combine(".", "test_data"));
|
||||||
}
|
}
|
||||||
} // namespace repertory
|
} // namespace repertory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user