Skip to content

Commit

Permalink
Move csvreader into external. Why was it in core?
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Oct 14, 2024
1 parent 7da4e15 commit 900ba11
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/core/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"./bitmap.cc",
"./bytes.cc",
"./crc.cc",
"./csvreader.cc",
"./hexdump.cc",
"./utils.cc",
"./logger.cc",
Expand All @@ -16,7 +15,6 @@
"lib/core/bitmap.h": "./bitmap.h",
"lib/core/bytes.h": "./bytes.h",
"lib/core/crc.h": "./crc.h",
"lib/core/csvreader.h": "./csvreader.h",
"lib/core/globals.h": "./globals.h",
"lib/core/utils.h": "./utils.h",
"lib/core/logger.h": "./logger.h",
Expand Down
8 changes: 5 additions & 3 deletions lib/external/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
"./fl2.cc",
"./kryoflux.cc",
"./catweasel.cc",
"./csvreader.cc",
],
hdrs={
"lib/external/ldbs.h": "./ldbs.h",
"lib/external/a2r.h": "./a2r.h",
"lib/external/scp.h": "./scp.h",
"lib/external/catweasel.h": "./catweasel.h",
"lib/external/csvreader.h": "./csvreader.h",
"lib/external/fl2.h": "./fl2.h",
"lib/external/kryoflux.h": "./kryoflux.h",
"lib/external/catweasel.h": "./catweasel.h",
"lib/external/ldbs.h": "./ldbs.h",
"lib/external/scp.h": "./scp.h",
},
deps=["lib/core", ".+fl2_proto_lib", "lib/data"],
)
2 changes: 1 addition & 1 deletion lib/core/csvreader.cc → lib/external/csvreader.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <string>
#include <vector>
#include "lib/core/csvreader.h"
#include "lib/external/csvreader.h"

std::vector<std::string> CsvReader::readLine()
{
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/fe-analyselayout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "lib/core/bitmap.h"
#include "lib/data/fluxmap.h"
#include "lib/data/sector.h"
#include "lib/core/csvreader.h"
#include "lib/external/csvreader.h"
#include "lib/data/image.h"
#include "lib/data/fluxmapreader.h"
#include "agg2d.h"
Expand Down
2 changes: 1 addition & 1 deletion tests/csvreader.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "lib/core/globals.h"
#include "lib/core/csvreader.h"
#include "lib/external/csvreader.h"
#include <assert.h>

typedef std::vector<std::string> strings;
Expand Down

0 comments on commit 900ba11

Please sign in to comment.