summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-03 19:44:59 -0700
committerFuwn <[email protected]>2022-07-03 19:44:59 -0700
commit9ab0f74aa643dc5d27508e9b2043f0c476f8f928 (patch)
tree28865c9003efc06615258a965b1d766386fb8805
parentfix(cli): initialise padding (diff)
downloadcait-9ab0f74aa643dc5d27508e9b2043f0c476f8f928.tar.xz
cait-9ab0f74aa643dc5d27508e9b2043f0c476f8f928.zip
chore(ninja): rename src_dir
-rw-r--r--build.ninja6
-rw-r--r--cait/cait.cc (renamed from src/cait.cc)0
-rw-r--r--cait/cli.cc (renamed from src/cli.cc)0
-rw-r--r--cait/cli.hh (renamed from src/cli.hh)0
-rw-r--r--cait/context.cc (renamed from src/context.cc)0
-rw-r--r--cait/context.hh (renamed from src/context.hh)0
-rw-r--r--cait/help.cc (renamed from src/help.cc)0
-rw-r--r--cait/help.hh (renamed from src/help.hh)0
-rw-r--r--cait/lexer.cc (renamed from src/lexer.cc)0
-rw-r--r--cait/lexer.hh (renamed from src/lexer.hh)0
-rw-r--r--cait/node.cc (renamed from src/node.cc)0
-rw-r--r--cait/node.hh (renamed from src/node.hh)0
-rw-r--r--cait/parser.cc (renamed from src/parser.cc)0
-rw-r--r--cait/parser.hh (renamed from src/parser.hh)0
-rw-r--r--cait/token.cc (renamed from src/token.cc)0
-rw-r--r--cait/token.hh (renamed from src/token.hh)0
-rw-r--r--cait/utility.hh (renamed from src/utility.hh)0
17 files changed, 3 insertions, 3 deletions
diff --git a/build.ninja b/build.ninja
index c97c215..c9efa7e 100644
--- a/build.ninja
+++ b/build.ninja
@@ -1,8 +1,8 @@
cc = clang++
-cxxflags = -Isrc -O3 -std=c++20 -Weverything -Wno-c++98-compat
-out_dir = out
name = cait
-src_dir = src
+src_dir = $name
+cxxflags = -I$src_dir -O3 -std=c++20 -Weverything -Wno-c++98-compat
+out_dir = out
out_ext = .exe
obj_ext = .o
cc_ext = .cc
diff --git a/src/cait.cc b/cait/cait.cc
index 623c781..623c781 100644
--- a/src/cait.cc
+++ b/cait/cait.cc
diff --git a/src/cli.cc b/cait/cli.cc
index 573b9a9..573b9a9 100644
--- a/src/cli.cc
+++ b/cait/cli.cc
diff --git a/src/cli.hh b/cait/cli.hh
index 155bbe5..155bbe5 100644
--- a/src/cli.hh
+++ b/cait/cli.hh
diff --git a/src/context.cc b/cait/context.cc
index f34d55c..f34d55c 100644
--- a/src/context.cc
+++ b/cait/context.cc
diff --git a/src/context.hh b/cait/context.hh
index f42555d..f42555d 100644
--- a/src/context.hh
+++ b/cait/context.hh
diff --git a/src/help.cc b/cait/help.cc
index 2271e9f..2271e9f 100644
--- a/src/help.cc
+++ b/cait/help.cc
diff --git a/src/help.hh b/cait/help.hh
index 88517da..88517da 100644
--- a/src/help.hh
+++ b/cait/help.hh
diff --git a/src/lexer.cc b/cait/lexer.cc
index 1100a2e..1100a2e 100644
--- a/src/lexer.cc
+++ b/cait/lexer.cc
diff --git a/src/lexer.hh b/cait/lexer.hh
index ffe3a33..ffe3a33 100644
--- a/src/lexer.hh
+++ b/cait/lexer.hh
diff --git a/src/node.cc b/cait/node.cc
index 9b76c27..9b76c27 100644
--- a/src/node.cc
+++ b/cait/node.cc
diff --git a/src/node.hh b/cait/node.hh
index cc2362c..cc2362c 100644
--- a/src/node.hh
+++ b/cait/node.hh
diff --git a/src/parser.cc b/cait/parser.cc
index 734be2f..734be2f 100644
--- a/src/parser.cc
+++ b/cait/parser.cc
diff --git a/src/parser.hh b/cait/parser.hh
index 4c10a28..4c10a28 100644
--- a/src/parser.hh
+++ b/cait/parser.hh
diff --git a/src/token.cc b/cait/token.cc
index 3ec3efd..3ec3efd 100644
--- a/src/token.cc
+++ b/cait/token.cc
diff --git a/src/token.hh b/cait/token.hh
index 44f8f69..44f8f69 100644
--- a/src/token.hh
+++ b/cait/token.hh
diff --git a/src/utility.hh b/cait/utility.hh
index 26a324e..26a324e 100644
--- a/src/utility.hh
+++ b/cait/utility.hh