Skip to content

Commit

Permalink
refactor: rename common directory to shared
Browse files Browse the repository at this point in the history
  • Loading branch information
flavien-chenu committed Mar 25, 2024
1 parent f919d4d commit 0b002c7
Show file tree
Hide file tree
Showing 42 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ cmake-build-debug
.idea

## Github
common/.github
common/.gitignore
shared/.github
shared/.gitignore

## Binary
arcade
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tests_run:
echo "pass"

update:
@cd common && ./pull.sh .
@cd shared && ./pull.sh .

.PHONY: all clean fclean re tests_run update
DEFAULT_GOAL := all
2 changes: 1 addition & 1 deletion core/src/types/Providers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#pragma once

#include "common/types/Libraries.hpp"
#include "shared/types/Libraries.hpp"

typedef std::vector<std::shared_ptr<shared::games::IGameProvider>> GameProviders;
typedef std::vector<std::shared_ptr<shared::graphics::IGraphicsProvider>> GraphicsProviders;
4 changes: 2 additions & 2 deletions games/snake/export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
** export
*/

#include "common/games/IGameProvider.hpp"
#include "common/types/Libraries.hpp"
#include "shared/games/IGameProvider.hpp"
#include "shared/types/Libraries.hpp"

extern "C" {
shared::types::LibraryType SHARED_LIBRARY_TYPE_GETTER_NAME(void)
Expand Down
4 changes: 2 additions & 2 deletions graphics/ncurses/export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
** export
*/

#include "common/games/IGameProvider.hpp"
#include "common/types/Libraries.hpp"
#include "shared/games/IGameProvider.hpp"
#include "shared/types/Libraries.hpp"

extern "C" {
shared::types::LibraryType SHARED_LIBRARY_TYPE_GETTER_NAME(void)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0b002c7

Please sign in to comment.