Refactored, simplified, and removed code; replaced cli header lib

- Reinitialized submodules
- Slightly restructed project
- Added more options to `compile.sh` script
- Added more utility functions
This commit is contained in:
David Allen 2023-06-10 19:22:21 -06:00
parent d34243db74
commit e48c54aa40
27 changed files with 564 additions and 3232 deletions

View file

@ -21,10 +21,26 @@ TEST_SUITE("Command functions"){
using namespace gdpm;
using namespace gdpm::package_manager;
config::context config = config::make_context();
package::params params = package::params();
package::params params = package::params{
.remote_source = "test"
};
config::context config = config::context{
.username = "",
.password = "",
.path = "tests/gdpm/config.json",
.packages_dir = "tests/gdpm/packages",
.tmp_dir = "tests/gdpm/.tmp",
.remote_sources = {
{"test", "http://godotengine.org/asset-library/api"}
},
.info {
.godot_version = "latest",
}
};
package::title_list package_titles{"ResolutionManagerPlugin","godot-hmac", "Godot"};
/* Set the default parameters to use. */
auto check_error = [](const error& error){
if(error.has_occurred()){
log::error(error);