summaryrefslogtreecommitdiff
path: root/tests/specs/compile/detect_cjs/__test__.jsonc
blob: 0abf121f05b1c363f39f2d24f1764bd172e24816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "tempDir": true,
  "steps": [{
    "args": "install",
    "output": "[WILDCARD]"
  }, {
    "if": "unix",
    "args": "compile --output main main.js",
    "output": "compile.out"
  }, {
    "if": "unix",
    "commandName": "./main",
    "args": [],
    "output": "output.out",
    "exitCode": 0
  }, {
    "if": "windows",
    "args": "compile --output main.exe main.js",
    "output": "compile.out"
  }, {
    "if": "windows",
    "commandName": "./main.exe",
    "args": [],
    "output": "output.out",
    "exitCode": 0
  }]
}