aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-08 20:28:10 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-08 20:29:03 +0530
commit6d3ee55638164df6521a60b6392a26f855d5f924 (patch)
tree18448793cbb971e76cbaeb7b9d2159ee2ab5d3b6 /Makefile
parentb7ac4dc7a20c624a343c946c5decd1b84eab2b82 (diff)
downloadnull-browser-6d3ee55638164df6521a60b6392a26f855d5f924.tar.gz
null-browser-6d3ee55638164df6521a60b6392a26f855d5f924.zip
Add test setup + spec for command input
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 88eeefa..aad5e9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: clean build
+.PHONY: clean build test
all: build
@@ -9,11 +9,14 @@ build:
# cp --no-preserve=mode,ownership -r ${CEF_PACKAGE_PATH}/share/cef/* ./build/lib/
cp build/compile_commands.json .
+test: build
+ cd build && ctest -V
+
clean:
rm -rf build/
rm -f compile_commands.json
-run:
+run: build
./build/web-browser
# -DCMAKE_BUILD_TYPE=Release