Move to Cargo

This commit is contained in:
Ben S 2014-06-28 17:24:20 +01:00
parent ee8c146ced
commit a8465fed45
15 changed files with 12 additions and 19 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
exa
exa-test
*~
target

View File

@ -4,4 +4,4 @@ before_install:
install:
- sudo apt-get install rust-nightly
script:
- make test
- cargo test

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "exa"
version = "0.1.0"
authors = [ "ogham@bsago.me" ]
[[bin]]
name = "exa"

View File

@ -1,15 +0,0 @@
COMPILER = rustc
all:
$(COMPILER) exa.rs
test:
$(COMPILER) --test exa.rs -o exa-test
./exa-test
clean:
rm -f exa
rm -f exa-test

View File

@ -27,4 +27,4 @@ Options
Installation
------------
exa is written in [Rust](http://www.rust-lang.org). You should use the nightly, rather than the 0.10 release, which is rather out of date at this point. Once you have Rust set up, a simple `make` should compile exa.
exa is written in [Rust](http://www.rust-lang.org). You should use the nightly, rather than the 0.10 release, which is rather out of date at this point. Once you have Rust set up, a simple `cargo build` will compile exa. Unless you don't have Cargo installed, in which case just `rustc src/exa.rs` will do.

View File

View File