forked from tailhook/battleship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagga.yaml
78 lines (70 loc) · 1.67 KB
/
vagga.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
containers:
nim:
setup:
- !Alpine v3.2
- !Install [build-base]
- &nim !Unpack
- - !TarInstall
url: http://nim-lang.org/download/nim-0.12.0.tar.xz
script: |
sh build.sh
sh install.sh /usr/bin
- !GitInstall
url: git://github.com/nim-lang/nimble
script: |
nim c -d:release src/nimble.nim
cp src/nimble /usr/bin/nimble
nimu:
setup:
- !Ubuntu trusty
- !Install [build-essential]
- *nim
serve:
setup:
- !Alpine v3.2
- !Tar
url: https://github.com/cortesi/devd/releases/download/v0.1/devd-0.1-linux64.tgz
path: /usr/bin
subdir: devd-0.1-linux64
server-pkgs:
setup:
- !Container nim
- !Install [git]
- !Env HOME: /usr/lib/nimble
- !Sh 'nimble install -y jester sha1'
- !GitInstall
url: git://github.com/onionhammer/onion-nimrod
script: |
cd websockets
nimble init websockets
nimble install
environ:
HOME: /usr/lib/nimble
commands:
nim: !Command
container: nim
run: [nim]
js: !Command
description: Build nim -> JS
container: nim
run: [nim, js, hellojs.nim]
srv: !Command
description: Run websocket server
container: server-pkgs
run: [nim, c, -r, server.nim]
run: !Supervise
description: Run websocket server and devd
children:
devd: !Command
container: serve
run: [devd, --port=8000, .]
nim: !Command
container: server-pkgs
run: [nim, c, -r, server.nim]
serve: !Command
description: Serve test pages
container: serve
run:
- devd
- --port=8000
- .