From 470739f5b5199368ce9d9cf78d1a86dde33e4d6a Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 24 Feb 2016 20:21:19 +0100 Subject: Update README with Downloads --- .travis.yml | 2 +- README.md | 19 ++++++++++++++----- appveyor.yml | 6 +++--- ci/before_deploy.sh | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c8cff9..24688a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,7 +74,7 @@ deploy: # - Enter the "encrypted value" below api_key: secure: BnQxKEtnxUL6K8T8WHsmC09KgTZho22z5MBlVEcX+glHMLkzehCs+LaiXQ0lsvs8Z7ngxEs+FG4qfCXtMeFJh3n4tzTYAe9xvNFhieRZKUKkkycNTTraRL1Pzpj7i+dT3/OG+vSMhgwa+I6gZwuPVHkcY1EU8fdzI95R7SLJJREM/yAE5/seYZNxA0TX4BiZIZksg+bzwSr1WJEsX0N9rv3ANqkemjMvHkeYQb6dogo8iIIBG03L/OKvuHELsdVdiyiIdq2YU62x3wPQc2w/StDkrk+dq5eMW9H7Gh0MqDGF4ZKkWlQzrxPxJnJBbWRPcKczRgGMXeIXKfBU52Pn4L92dRC7RpJmKOVZwDgyeqNLXvHYiMpL0NH3DU3V2LFpVNHJtK3f6hsVPBS0w00kpg7iQhN5EejHe7GlD6SF41J2W53XsN1+5qmNew+El+Ugnk7Jp4GFDPpYAR5u9FW7GAChGTyFjBkAOYGlnl9ZrtMC53+pPuDtGwywszf7+MXpB2HmSWy/eC1tnEE9tZt9rAVO0BTM1gCPkvDNA0czvA76gwNphEG7QCADI89WiGiVDruOGrMpF7Yi6NavmfQUwflMI2vZ+rqeBhVocK9pYLd/lg3yXyue//EejW+BE42R+IbB3OfFGgpK1+oHnbWr8UobwD3sa3iKJo232wPKozU= - file: ${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz + file: ${PROJECT_NAME}-${TARGET}.tar.gz # don't delete the artifacts from previous phases skip_cleanup: true # deploy when a new tag is pushed diff --git a/README.md b/README.md index ec22187..167b41f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ilc ========= -[![Build Status](https://img.shields.io/travis/tilpner/ilc.svg?style=flat-square)](https://travis-ci.org/tilpner/ilc) +[![Travis](https://img.shields.io/travis/tilpner/ilc.svg?style=flat-square)](https://travis-ci.org/tilpner/ilc) +[![Appveyor](https://img.shields.io/appveyor/ci/tilpner/ilc.svg?style=flat-square)](https://ci.appveyor.com/project/tilpner/ilc) [![Crates.io version](https://img.shields.io/crates/v/ilc.svg?style=flat-square)](https://crates.io/crates/ilc) [![Crates.io license](https://img.shields.io/crates/l/ilc.svg?style=flat-square)](https://crates.io/crates/ilc) @@ -12,11 +13,19 @@ of commonly needed utilities for IRC logs. The library can convert between most of the EnergyMech (ZNC) and Weechat log formats, as well as binary and msgpack representations of them. The tools can merge, convert, and pretty-print them, or count the lines/words that people said in them. -#### Fine, I'll try it. Do I really have to compile it myself? +### Downloads -Probably. I sporadically [release a binary](https://github.com/tilpner/ilc/releases), but those are for x86_64 Linux. If you want something else, or more recent, you'll have to compile yourself. +There are other builds, including for/with musl, mingw, or ARM. Please [check out the latest release](https://github.com/tilpner/ilc/releases/latest) -#### Okay, how do I compile it then? +| Platform | 64 bit | 32 bit | +| -------- | ------ | ------ | +| Linux | [Download](https://github.com/tilpner/ilc/releases/latest/ilc-x86_64-unknown-linux-gnu.tar.gz) |[Download](https://github.com/tilpner/ilc/releases/latest/ilc-i686-unknown-linux-gnu.tar.gz) | +| OSX | [Download](https://github.com/tilpner/ilc/releases/latest/ilc-x86_64-apple-darwin.tar.gz) |[Download](https://github.com/tilpner/ilc/releases/latest/ilc-i686-apple-darwin.tar.gz) | +| Windows | [Download](https://github.com/tilpner/ilc/releases/latest/ilc-x86_64-pc-windows-msvc.tar.gz) |[Download](https://github.com/tilpner/ilc/releases/latest/ilc-i686-pc-windows-msvc.tar.gz) | + +*Note that these links might be broken in the one hour it takes between release and uploading builds, sorry for that.* + +#### How can I compile this myself? Because I'm using experimental features (slice_patterns), you have to use a Rust nightly installation either way. @@ -28,7 +37,7 @@ Because I'm using experimental features (slice_patterns), you have to use a Rust `67ee599c56ba9e58cfe190036b7dcc656b20bfdd` is known to compile with -> rustc 1.8.0-nightly (d63b8e539 2016-01-23) +> rustc 1.8.0-nightly (d63b8e539 2016-01-23) > cargo 0.8.0-nightly (8edc460 2016-01-21) To compile: diff --git a/appveyor.yml b/appveyor.yml index facb3c4..3cadeff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,12 +37,12 @@ after_test: - copy target\release\ilc.exe staging - cd staging # release zipfile will look like 'rust-everywhere-v1.2.3-x86_64-pc-windows-msvc' - - 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip * + - 7z a ../%PROJECT_NAME%-%TARGET%.zip * # IMPORTANT All the artifacts need to be listed here, or they won't be uploaded to GitHub artifacts: - - path: $(PROJECT_NAME)-$(APPVEYOR_REPO_TAG_NAME)-$(TARGET).zip - name: $(PROJECT_NAME)-$(APPVEYOR_REPO_TAG_NAME)-$(TARGET).zip + - path: $(PROJECT_NAME)-$(TARGET).zip + name: $(PROJECT_NAME)-$(TARGET).zip type: zip deploy: diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index b8f67d4..233ae9e 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -12,4 +12,4 @@ cp target/$TARGET/release/ilc* staging cd staging # release tarball will look like 'rust-everywhere-v1.2.3-x86_64-unknown-linux-gnu.tar.gz' -tar czf ../${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz * +tar czf ../${PROJECT_NAME}-${TARGET}.tar.gz * -- cgit v1.2.3