mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
089f3a6e6b
Depends on D6168 Differential Revision: https://phabricator.services.mozilla.com/D6169 --HG-- rename : third_party/rust/num/bors.toml => third_party/rust/num-integer/bors.toml extra : moz-landing-system : lando
31 lines
900 B
Makefile
31 lines
900 B
Makefile
# this Makefile is mostly for the packaging convenience.
|
|
# casual users should use `cargo` to retrieve the appropriate version of Chrono.
|
|
|
|
.PHONY: all
|
|
all:
|
|
@echo 'Try `cargo build` instead.'
|
|
|
|
.PHONY: authors
|
|
authors:
|
|
echo 'Chrono is mainly written by Kang Seonghoon <public+rust@mearie.org>,' > AUTHORS.txt
|
|
echo 'and also the following people (in ascending order):' >> AUTHORS.txt
|
|
echo >> AUTHORS.txt
|
|
git log --format='%aN <%aE>' | grep -v 'Kang Seonghoon' | sort -u >> AUTHORS.txt
|
|
|
|
.PHONY: readme README.md
|
|
readme: README.md
|
|
|
|
README.md: src/lib.rs
|
|
( ./ci/fix-readme.sh $< ) > $@
|
|
|
|
.PHONY: test
|
|
test:
|
|
TZ=UTC0 cargo test --features 'serde rustc-serialize bincode' --lib
|
|
TZ=ACST-9:30 cargo test --features 'serde rustc-serialize bincode' --lib
|
|
TZ=EST4 cargo test --features 'serde rustc-serialize bincode'
|
|
|
|
.PHONY: doc
|
|
doc: authors readme
|
|
cargo doc --features 'serde rustc-serialize bincode'
|
|
|