summaryrefslogtreecommitdiff
path: root/tests/specs/compile/include_folder/__test__.jsonc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-11-19 18:20:14 -0500
committerGitHub <noreply@github.com>2024-11-19 23:20:14 +0000
commit6b478cd0a3fdff15d5d9d8849a3019652b919921 (patch)
treea230be068b8c01b127ee4fd26a0e6d54239f1188 /tests/specs/compile/include_folder/__test__.jsonc
parent46b6037644c761369e689704f8e7b857959da155 (diff)
feat(compile): ability to embed directory in executable (#26939)
Diffstat (limited to 'tests/specs/compile/include_folder/__test__.jsonc')
-rw-r--r--tests/specs/compile/include_folder/__test__.jsonc24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/specs/compile/include_folder/__test__.jsonc b/tests/specs/compile/include_folder/__test__.jsonc
new file mode 100644
index 000000000..eeaea53b6
--- /dev/null
+++ b/tests/specs/compile/include_folder/__test__.jsonc
@@ -0,0 +1,24 @@
+{
+ "tempDir": true,
+ "steps": [{
+ "if": "unix",
+ "args": "compile --allow-read=data --include data --output main main.js",
+ "output": "[WILDCARD]"
+ }, {
+ "if": "unix",
+ "commandName": "./main",
+ "args": [],
+ "output": "output.out",
+ "exitCode": 0
+ }, {
+ "if": "windows",
+ "args": "compile --allow-read=data --include data --output main.exe main.js",
+ "output": "[WILDCARD]"
+ }, {
+ "if": "windows",
+ "commandName": "./main.exe",
+ "args": [],
+ "output": "output.out",
+ "exitCode": 0
+ }]
+}