Bug 1221656 - Copy mp4parse.h in update-rust.sh. r=kinetik

We had added this header manually at some point, but the script
wasn't updating it.

Also bump the default mp4parse version to the latest.
This commit is contained in:
Ralph Giles 2015-11-04 10:14:00 -08:00
parent cad6f9789a
commit 7c6d20d965

View File

@ -2,7 +2,7 @@
# Script to update mp4parse-rust sources to latest upstream # Script to update mp4parse-rust sources to latest upstream
# Default version. # Default version.
VER=v0.1.3 VER=v0.1.4
# Accept version or commit from the command line. # Accept version or commit from the command line.
if test -n "$1"; then if test -n "$1"; then
@ -17,6 +17,7 @@ git checkout ${VER}
popd popd
cp _upstream/mp4parse/src/lib.rs MP4Metadata.rs cp _upstream/mp4parse/src/lib.rs MP4Metadata.rs
cp _upstream/mp4parse/src/capi.rs . cp _upstream/mp4parse/src/capi.rs .
cp _upstream/mp4parse/include/mp4parse.h include/
# TODO: download deps from crates.io. # TODO: download deps from crates.io.