forked from wasmerio/wasmer-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
41 lines (32 loc) · 729 Bytes
/
justfile
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
# Compile and install the Ruby extension.
build:
rake build_lib
rake bundle_install
# Run all the tests.
test-all: test-lib test-doc test-example
# Run the tests of the library.
test-lib:
rake test
# Run the tests of the documentation.
test-doc:
cargo test --manifest-path crates/wasmer/Cargo.toml --doc
# Run the examples as tests.
test-example:
for example in $(ls examples/*.rb); do \
ruby $example; \
done
# Build the `.gem` file.
gem:
rake build
# Generate the documentation.
doc:
cargo rustdoc --manifest-path crates/wasmer/Cargo.toml -- --extend-css doc/patch-rustdoc.css
# Clean the project.
clean:
cargo clean
rake clean
rake clobber
# Local Variables:
# mode: makefile
# End:
# vim: set ft=make :