Skip to content

Commit 10ca930

Browse files
committed
v0.1.0
1 parent 6414fbe commit 10ca930

File tree

4 files changed

+34
-11
lines changed

4 files changed

+34
-11
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [Unreleased]
9+
10+
## v0.1.0 - 2018-01-17
11+
12+
Initial release
13+
14+
[Unreleased]: https://github.com/japaric/l3gd20/compare/v0.1.0...HEAD

Cargo.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[package]
22
authors = ["Jorge Aparicio <[email protected]>"]
3+
categories = ["embedded", "hardware-support", "no-std"]
4+
description = "A platform agnostic driver to interface the L3GD20 (gyroscope)"
5+
documentation = "https://docs.rs/l3gd20"
6+
keywords = ["embedded-hal", "gyroscope"]
7+
license = "MIT OR Apache-2.0"
38
name = "l3gd20"
9+
repository = "https://github.com/japaric/l3gd20"
410
version = "0.1.0"
511

612
[dependencies]
7-
embedded-hal = { git = "https://github.com/japaric/embedded-hal", branch = "v1" }
13+
embedded-hal = "0.1.0"

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `l3gd20`
22

3-
> A WIP, no_std, generic driver for the L3GD20 (gyroscope)
3+
> A platform agnostic driver to interface with the L3GD20 (gyroscope)
44
55
## What works
66

@@ -16,10 +16,9 @@
1616

1717
## Examples
1818

19-
You should find at least one example in the [f3] repository. If that branch is gone, check
20-
the master branch.
19+
You should find at least one example in the [f3] crate.
2120

22-
[f3]: https://github.com/japaric/f3/tree/singletons/examples
21+
[f3]: https://docs.rs/f3/~0.5
2322

2423
## License
2524

ci/script.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# This script takes care of testing your crate
22

3-
set -ex
3+
set -euxo pipefail
44

55
main() {
6-
xargo check --target $TARGET
6+
case $TARGET in
7+
x86_64-unknown-linux-gnu)
8+
cargo check --target $TARGET
9+
;;
10+
*)
11+
xargo check --target $TARGET
12+
;;
13+
esac
714
}
815

9-
# we don't run the "test phase" when doing deploys
10-
if [ -z $TRAVIS_TAG ]; then
11-
main
12-
fi
16+
main

0 commit comments

Comments
 (0)