diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2014-04-01 11:51:46 -0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-04-15 18:54:24 +0200 |
commit | 5877328c4dacb1283408083cb3538ea5bc46eae5 (patch) | |
tree | 1c0047b2a0a3d9ce38a7e49fb4bff84242baccf9 /tests/auto/blackbox/testdata | |
parent | ad533a593f0883f2a6e3362c2254afe4e0d5cf64 (diff) |
Add support for running Node.js using qbs run.
Change-Id: I98a38e49cbea57d44b787eec12c2cb5f2e5cd601
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata')
-rw-r--r-- | tests/auto/blackbox/testdata/nodejs/hello.js | 3 | ||||
-rw-r--r-- | tests/auto/blackbox/testdata/nodejs/hello.qbs | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/nodejs/hello.js b/tests/auto/blackbox/testdata/nodejs/hello.js new file mode 100644 index 000000000..43f1e2ffd --- /dev/null +++ b/tests/auto/blackbox/testdata/nodejs/hello.js @@ -0,0 +1,3 @@ +if (console) { + console.log("hello world"); +} diff --git a/tests/auto/blackbox/testdata/nodejs/hello.qbs b/tests/auto/blackbox/testdata/nodejs/hello.qbs new file mode 100644 index 000000000..e11b1a599 --- /dev/null +++ b/tests/auto/blackbox/testdata/nodejs/hello.qbs @@ -0,0 +1,7 @@ +import qbs + +NodeJSApplication { + nodejs.applicationFile: "hello.js" + name: "hello" + files: "hello.js" +} |