Skip to content

Commit

Permalink
progress updating to rust 0.12-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Jul 14, 2014
1 parent 6f979ac commit f2b6c5b
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 200 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
.rust/
bin/
build/
lib/
target/
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Use something that's not 'ruby' so we don't set up things like
# RVM/bundler/ruby and whatnot. Right now 'rust' isn't a language on
# travis and it treats unknown languages as ruby
language: c

before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly libzmq3-dev
- curl -s http://www.rust-lang.org/rustup.sh | sudo sh
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz
- tar xf cargo-nightly-linux.tar.gz
script:
- make all test
- ./cargo-nightly/bin/cargo build --verbose
- ./cargo-nightly/bin/cargo test --verbose
- ./bin/test
- ./bin/example
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "elasticsearch"
version = "0.2.0"
authors = [ "erick.tryzelaar@gmail.com" ]

[[lib]]
name = "elasticsearch"
path = "src/elasticsearch/lib.rs"

[dependencies.zmq]
git = "https://github.com/erickt/rust-zmq"
Loading

0 comments on commit f2b6c5b

Please sign in to comment.