-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from japaric/dev
release v0.1.0
- Loading branch information
Showing
6 changed files
with
128 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This script takes care of building your crate and packaging it for release | ||
|
||
set -ex | ||
|
||
main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
set -ex | ||
|
||
main() { | ||
local version=0.1.2 | ||
|
||
curl https://sh.rustup.rs -sSf | \ | ||
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION | ||
|
||
cargo install -f --git https://github.com/japaric/cross | ||
local target= | ||
if [ $TRAVIS_OS_NAME = linux ]; then | ||
target=x86_64-unknown-linux-gnu | ||
else | ||
target=x86_64-apple-darwin | ||
fi | ||
|
||
# if [ $TRAVIS_OS_NAME = linux ]; then | ||
# curl -LSfs http://japaric.github.io/trust/install.sh | \ | ||
# sh -s -- \ | ||
# --force \ | ||
# --git japaric/cross \ | ||
# --tag v$version \ | ||
# --target x86_64-unknown-linux-musl \ | ||
# --to ~/.cargo/bin | ||
# else | ||
# cargo install cross -f --vers $version | ||
# fi | ||
# TODO At some point you'll probably want to use a newer release of `cross`, | ||
# simply change the argument to `--tag`. | ||
curl -LSfs https://japaric.github.io/trust/install.sh | \ | ||
sh -s -- \ | ||
--force \ | ||
--git japaric/cross \ | ||
--tag v0.1.3 \ | ||
--target $target | ||
} | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This script takes care of testing your crate | ||
|
||
set -ex | ||
|
||
# TODO This is the "test phase", tweak it as you see fit | ||
|