mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-02 10:38:24 +00:00
Move to Cargo
This commit is contained in:
parent
ee8c146ced
commit
a8465fed45
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
exa
|
||||
exa-test
|
||||
*~
|
||||
target
|
||||
|
@ -4,4 +4,4 @@ before_install:
|
||||
install:
|
||||
- sudo apt-get install rust-nightly
|
||||
script:
|
||||
- make test
|
||||
- cargo test
|
||||
|
9
Cargo.toml
Normal file
9
Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[package]
|
||||
|
||||
name = "exa"
|
||||
version = "0.1.0"
|
||||
authors = [ "ogham@bsago.me" ]
|
||||
|
||||
[[bin]]
|
||||
|
||||
name = "exa"
|
15
Makefile
15
Makefile
@ -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
|
||||
|
||||
|
||||
|
@ -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.
|
Loading…
x
Reference in New Issue
Block a user