From abb9c845a5d2ff8ecb915d255f2db7866d319201 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 18 Dec 2017 14:49:04 -0800 Subject: [PATCH] Add CI and a small README --- .appveyor.yml | 11 +++++++++++ .travis.yml | 14 ++++++++++++++ README.md | 24 ++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .appveyor.yml create mode 100644 .travis.yml create mode 100644 README.md diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..c72b709c --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,11 @@ +install: + - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - if not defined RUSTFLAGS rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin + - rustc -V + - cargo -V + +build: false + +test_script: + - cargo test diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..75edfa0f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: rust +sudo: false + +matrix: + include: + - rust: nightly + +script: + - cargo test + +notifications: + email: + on_success: never + diff --git a/README.md b/README.md new file mode 100644 index 00000000..d17ce979 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# wasm-bindgen + +A CLI and Rust dependency for generating JS bindings of an interface defined in +Rust (and maybe eventually other languages!) + +[![Build Status](https://travis-ci.org/alexcrichton/wasm-bindgen.svg?branch=master)](https://travis-ci.org/alexcrichton/wasm-bindgen) +[![Build status](https://ci.appveyor.com/api/projects/status/559c0lj5oh271u4c?svg=true)](https://ci.appveyor.com/project/alexcrichton/wasm-bindgen) + +# License + +This project is licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or + http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](LICENSE-MIT) or + http://opensource.org/licenses/MIT) + +at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in this project by you, as defined in the Apache-2.0 license, +shall be dual licensed as above, without any additional terms or conditions.