From 6eb93545aa66f28ff4cbcd7bf97484eff51d36c7 Mon Sep 17 00:00:00 2001 From: checkroom Date: Wed, 11 Dec 2024 10:29:20 +0000 Subject: [PATCH] Closes #59 --- .gitignore | 6 +++--- meson.build | 2 +- package.json | 1 + test/fullstack/example-full/meson.build | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9aac128b..bb715269 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,9 @@ subprojects/* /dist/ /node_modules/ /bun.lockb -/private -/logs -/.flatpak-builder +/private/ +/logs/ +/.flatpak-builder/ # Contains variables specific for the user /docker/.env diff --git a/meson.build b/meson.build index 7818ebb9..c65dc4a4 100644 --- a/meson.build +++ b/meson.build @@ -298,4 +298,4 @@ pconf.generate( description: 'VS fltk library (C interface only)', url: 'https://github.com/KaruroChori/vs-fltk/', version: meson.project_version(), -) +) \ No newline at end of file diff --git a/package.json b/package.json index a5e39293..d78ca507 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "meson-setup.clang-release": "meson setup --prefix=/usr --reconfigure build/ --buildtype=release --native-file toolchains/clang.ini", "meson-setup.clang-debug": "meson setup --prefix=/usr --reconfigure build/ --buildtype=debug --native-file toolchains/clang.ini", "meson-setup.zig-release": "meson setup --prefix=/usr --reconfigure build/ --buildtype=release --native-file toolchains/zig.ini", + "meson-build": "meson compile -C build/", "vs.example": "meson compile -C build/ vs:executable && VS_COMMONS_DIR=$(pwd)/build/commons/ ./build/vs run vs://examples/example-0.xml", "test": "meson test -C build/ --suite=vs-fltk", "benchmark": "meson test --benchmark -C build/ --suite=vs-fltk", diff --git a/test/fullstack/example-full/meson.build b/test/fullstack/example-full/meson.build index a26eda81..850339fa 100644 --- a/test/fullstack/example-full/meson.build +++ b/test/fullstack/example-full/meson.build @@ -1,2 +1,2 @@ -# Run `VS_COMMONS_PATH=... VS_PROFILE=... vs test ./main.xml ./actions.xml` +# Run `VS_COMMONS_PATH=... VS_USER_PATH=... VS_PROFILE=... vs test ./main.xml ./actions.xml` # Headless execution is not required but I expect it to be quite common \ No newline at end of file