diff --git a/markup/lexer.cpp b/browser/markup/lexer.cpp similarity index 100% rename from markup/lexer.cpp rename to browser/markup/lexer.cpp diff --git a/markup/lexer.hpp b/browser/markup/lexer.hpp similarity index 100% rename from markup/lexer.hpp rename to browser/markup/lexer.hpp diff --git a/markup/meson.build b/browser/markup/meson.build similarity index 59% rename from markup/meson.build rename to browser/markup/meson.build index 79dd2fe..fd2278d 100644 --- a/markup/meson.build +++ b/browser/markup/meson.build @@ -1,5 +1,5 @@ -common_sources += files( +browser_sources += files( 'parser.cpp', 'lexer.cpp', ) diff --git a/markup/parser.cpp b/browser/markup/parser.cpp similarity index 100% rename from markup/parser.cpp rename to browser/markup/parser.cpp diff --git a/markup/parser.hpp b/browser/markup/parser.hpp similarity index 100% rename from markup/parser.hpp rename to browser/markup/parser.hpp diff --git a/browser/meson.build b/browser/meson.build index 7c593eb..5e3b22f 100644 --- a/browser/meson.build +++ b/browser/meson.build @@ -1,4 +1,7 @@ +subdir('markup') +subdir('scriptlang') + browser_sources += files( 'main.cpp', ) diff --git a/scriptlang/lexer.cpp b/browser/scriptlang/lexer.cpp similarity index 100% rename from scriptlang/lexer.cpp rename to browser/scriptlang/lexer.cpp diff --git a/scriptlang/lexer.hpp b/browser/scriptlang/lexer.hpp similarity index 100% rename from scriptlang/lexer.hpp rename to browser/scriptlang/lexer.hpp diff --git a/scriptlang/meson.build b/browser/scriptlang/meson.build similarity index 59% rename from scriptlang/meson.build rename to browser/scriptlang/meson.build index ffe15db..05cd4c6 100644 --- a/scriptlang/meson.build +++ b/browser/scriptlang/meson.build @@ -1,5 +1,5 @@ -common_sources += files( +browser_sources += files( 'lexer.cpp', 'parser.cpp', ) diff --git a/scriptlang/parser.cpp b/browser/scriptlang/parser.cpp similarity index 100% rename from scriptlang/parser.cpp rename to browser/scriptlang/parser.cpp diff --git a/scriptlang/parser.hpp b/browser/scriptlang/parser.hpp similarity index 100% rename from scriptlang/parser.hpp rename to browser/scriptlang/parser.hpp diff --git a/meson.build b/meson.build index b81436b..3426e6f 100644 --- a/meson.build +++ b/meson.build @@ -18,8 +18,6 @@ add_project_arguments( common_sources = [] subdir('utils') -subdir('scriptlang') -subdir('markup') browser_sources = common_sources subdir('browser')