16 lines
395 B
C++
Raw Normal View History

2020-09-07 14:11:39 +00:00
#include <iostream>
#include <archive.h>
#include <archive_entry.h>
2020-09-09 12:02:40 +00:00
#include "helpers.h"
2020-09-07 14:11:39 +00:00
2020-09-09 12:02:40 +00:00
int main(int argc, char *argv[]) {
2020-09-07 14:11:39 +00:00
std::cout << "WORKS" << std::endl;
2020-09-09 12:02:40 +00:00
std::vector<std::string> s = MakeAbsolutePaths(argv + 1);
std::cout << "ok" << std::endl;
for (const auto &i : s) {
std::cout << i << std::endl;
}
std::cout << "==========" << std::endl;
2020-09-07 14:11:39 +00:00
return 0;
}