From 30328d8aaa6d3e19f43c4699b7f0c5bc9b341c02 Mon Sep 17 00:00:00 2001 From: Andelf Date: Sat, 1 Nov 2014 23:48:15 +0800 Subject: [PATCH] fix README --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cdb34eda..09526a46 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ Rust-SDL2_mixer =============== -Rust bindings for SDL2_mixer +[![Build Status](https://travis-ci.org/andelf/rust-sdl2_mixer.svg?branch=master)](https://travis-ci.org/andelf/rust-sdl2_mixer) + +Rust bindings for SDL2_mixer. Requirements ------------ @@ -15,9 +17,8 @@ Installation ``` git clone https://github.com/andelf/rust-sdl2_mixer -cd rust-sdl2_mixer -rustc src/sdl2_mixer/lib.rs -# OR if you are using the mac framework version +cargo build +# TODO: OR if you are using the mac framework version rustc --cfg mac_framework src/sdl2_mixer/lib.rs ``` @@ -25,6 +26,5 @@ Demo ---- ``` -rustc -L. src/demo/demo.rs -./demo mixer.[wav|mp3|ogg] +cargo run /path/to/wav_file.wav ```