Super simple assert for now.
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell {
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell {
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell
|
||||
{
|
||||
@@ -59,7 +59,7 @@ namespace dropshell
|
||||
server_env_manager &server_env,
|
||||
bool silent)
|
||||
{
|
||||
ASSERT(!local_path.empty() && !remote_path.empty());
|
||||
ASSERT(!local_path.empty() && !remote_path.empty(), "Local or remote path not specified. Can't rsync.");
|
||||
|
||||
std::string rsync_cmd = "rsync --delete --mkpath -zrpc -e 'ssh -p " + server_env.get_SSH_PORT() + "' " +
|
||||
quote(local_path + "/") + " " +
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell {
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#include "servers.hpp"
|
||||
#include "templates.hpp"
|
||||
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
#pragma TODO("Fix issues with Nuke below.")
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include "servers.hpp"
|
||||
#include "services.hpp"
|
||||
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell {
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#include "shared_commands.hpp"
|
||||
#include "templates.hpp"
|
||||
|
||||
#include <libassert/assert.hpp>
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
namespace dropshell
|
||||
{
|
||||
|
Reference in New Issue
Block a user