Skip to content

Commit

Permalink
remove sub-dir prefix from paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hammadmajid committed Sep 8, 2023
1 parent 97400ee commit 475979c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ enable_testing()
# Define the main executable
add_executable(neon
src/main.cc
src/tokenization/tokenization.cc
src/cmd/cmd.cc
src/tokenization.cc
src/cmd.cc
)

# Define the test executable and link against GoogleTest
add_executable(tests
src/tokenization/tokenization.cc
src/cmd/cmd.cc
test/tokenization/tokenization_test.cc
test/cmd/cmd_test.cc
src/tokenization.cc
src/cmd.cc
test/tokenization_test.cc
test/cmd_test.cc
)

target_link_libraries(tests
Expand Down
2 changes: 1 addition & 1 deletion src/cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* See the end file for full the license information
*/

#include "cmd/cmd.h"
#include "cmd.h"

CmdInput CmdLine::ParseArgvForExprAndSetFlags(int argc,
const char *const *argv) {
Expand Down
4 changes: 2 additions & 2 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* See the end file for full the license information
*/

#include "cmd/cmd.h"
#include "tokenization/tokenization.h"
#include "cmd.h"
#include "tokenization.h"
#include <iostream>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/tokenization.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* See the end file for full the license information
*/

#include "tokenization/tokenization.h"
#include "tokenization.h"
#include <vector>

std::variant<std::vector<Token>, TokenizationError>
Expand Down
2 changes: 1 addition & 1 deletion test/cmd_test.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cmd/cmd.h"
#include "cmd.h"
#include <gtest/gtest.h>

TEST(CmdTest, TestErrorCase) {
Expand Down
2 changes: 1 addition & 1 deletion test/tokenization_test.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "tokenization/tokenization.h"
#include "tokenization.h"
#include <gtest/gtest.h>

TEST(TokenizerTest, TestIntegerLiteral) {
Expand Down

0 comments on commit 475979c

Please sign in to comment.