mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Major refactor and API changes
- Updated `.gitignore` file - Updated `CMakeLists.txt` to build static exectuable - Changed some `Doxyfile` configurations to build more robust and complete documentation (WIP) - Changed how `remote` works to better reflect `git`'s API (WIP) - Changed how error handling works - Improved `bin/compile.sh` script - Improved `bin/lines.sh` script (kinda) - Removed some instances of `fmt` in favor of `std` string functions - Restructed style for better readibility
This commit is contained in:
parent
ba23299777
commit
5a73651ad1
29 changed files with 1836 additions and 1140 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <string_view>
|
||||
|
||||
namespace gdpm::constants{
|
||||
const std::string RemoteName(std::string("origin"));
|
||||
const std::string HomePath(std::string(std::getenv("HOME")) + "/");
|
||||
const std::string TestPath(HomePath + ".config/gdpm/tests");
|
||||
const std::string ConfigPath(HomePath + ".config/gdpm/config.json");
|
||||
|
|
@ -24,7 +25,7 @@ namespace gdpm::constants{
|
|||
#define GDPM_CONFIG_GODOT_VERSION "3.4"
|
||||
#define GDPM_CONFIG_LOCAL_PACKAGES_DIR gdpm::constants::LocalPackagesDir
|
||||
#define GDPM_CONFIG_LOCAL_TMP_DIR gdpm::constants::TemporaryPath
|
||||
#define GDPM_CONFIG_REMOTE_SOURCES constants::HostUrl
|
||||
#define GDPM_CONFIG_REMOTE_SOURCES std::pair<std::string, std::string>(constants::RemoteName, constants::HostUrl)
|
||||
#define GDPM_CONFIG_THREADS 1
|
||||
#define GDPM_CONFIG_TIMEOUT_MS 30000
|
||||
#define GDPM_CONFIG_ENABLE_SYNC 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue