Skip to content

Commit 627dc3b

Browse files
committed
Add vagga.yaml for convenience
1 parent 531863a commit 627dc3b

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
target
2-
Cargo.lock
1+
/.vagga
2+
/target
3+
/Cargo.lock

vagga.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
commands:
2+
3+
make: !Command
4+
description: Build library and binaries
5+
container: ubuntu
6+
run: [cargo, build]
7+
8+
test: !Command
9+
description: Run tests
10+
container: ubuntu
11+
run: [cargo, test]
12+
13+
cargo: !Command
14+
description: Run any cargo command
15+
container: ubuntu
16+
run: [cargo]
17+
18+
doc: !Command
19+
description: Build documentation
20+
container: ubuntu
21+
epilog: |
22+
---------------------------------------------------------
23+
Documentation is built under target/doc/signal/index.html
24+
run: [cargo, doc]
25+
26+
containers:
27+
28+
ubuntu:
29+
setup:
30+
- !Ubuntu trusty
31+
- !UbuntuUniverse
32+
- !Install [make, checkinstall, wget, ca-certificates,
33+
libssl-dev, build-essential]
34+
- !Install [libreadline-dev] # for lua
35+
36+
- !TarInstall
37+
url: "http://static.rust-lang.org/dist/rust-1.3.0-x86_64-unknown-linux-gnu.tar.gz"
38+
script: "./install.sh --prefix=/usr --components=rustc,cargo"
39+
40+
environ:
41+
HOME: /work/target

0 commit comments

Comments
 (0)