From 20844ae72bfb320f235a6b6868c1e34432a692e4 Mon Sep 17 00:00:00 2001 From: Nicholas O'Connor Date: Fri, 24 Mar 2017 17:30:49 -0700 Subject: [PATCH] removed need for dummy file (and therefore removed dummy file) --- include/internal/core.hpp | 1 - src/cellar.cpp.cog | 4 ++++ src/modules.txt | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 include/internal/core.hpp diff --git a/include/internal/core.hpp b/include/internal/core.hpp deleted file mode 100644 index b262fa1..0000000 --- a/include/internal/core.hpp +++ /dev/null @@ -1 +0,0 @@ -// dummy file diff --git a/src/cellar.cpp.cog b/src/cellar.cpp.cog index f83ca39..230be26 100644 --- a/src/cellar.cpp.cog +++ b/src/cellar.cpp.cog @@ -52,6 +52,10 @@ int main(int argc, char* argv[]) { cmdparse.parse(argc, argv); + // hardcoded because it's special + for (auto item : commands::core_commands()) { + commands::command_map[item.first] = item.second; + } /*[[[cog import cog diff --git a/src/modules.txt b/src/modules.txt index 8aee732..e9de022 100644 --- a/src/modules.txt +++ b/src/modules.txt @@ -1,3 +1,2 @@ -core bottles launch