-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnes.nimble
33 lines (27 loc) · 834 Bytes
/
nes.nimble
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
28
29
30
31
32
33
# Package
version = "0.1.0"
author = "zacharycarter"
description = "A new awesome nimble package"
license = "MIT"
srcDir = "src"
bin = @["nes.js"]
binDir = "bin"
installExt = @["nim"]
backend = "js"
# Dependencies
requires "nim >= 0.18.1"
requires "ast_pattern_matching >= 1.0.0"
requires "https://github.com/zacharycarter/litz.git"
task test, "run nes tests":
withDir "tests":
exec "nim js test_es2015_class.nim"
exec "nim js test_custom_elements.nim"
exec "node runner.js"
task dtest, "run nes tests w/ nes debug flag on":
withDir "tests":
exec "nim js -d:debugNES test_es2015_class.nim"
exec "nim js -d:debugNES test_custom_elements.nim"
exec "node runner.js"
task mtools, "run macro tools":
withDir "tools":
exec "nim c -r mtools.nim"