diff options
author | Remi Collet <remi@remirepo.net> | 2023-06-15 15:52:14 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-06-15 15:52:14 +0200 |
commit | 8e686507c7db25dd54dbb5c4ce7cd4d46dde6af1 (patch) | |
tree | 71099f9a8bbda00daff990d35137e47c85096e0f /makedeps.sh | |
parent | 5abf3ffd7c3e357e6e6f243e8b91057229673aed (diff) |
update to 0.88.0
use vendored rust dependencies
open https://github.com/DataDog/dd-trace-php/issues/2103
Cannot build OFFLINE
Diffstat (limited to 'makedeps.sh')
-rwxr-xr-x | makedeps.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/makedeps.sh b/makedeps.sh new file mode 100755 index 0000000..a11cb39 --- /dev/null +++ b/makedeps.sh @@ -0,0 +1,21 @@ +#!/bin/sh +EXT=datadog_trace + +if [ $# -lt 1 ]; then + echo usage $0 version + exit 0 +fi +if [ -f $EXT-$1.tgz ]; then + echo "+ Unpack" + tar xf $EXT-$1.tgz $EXT-$1 + + pushd $EXT-$1 + echo "+ Fetch" + cargo vendor mycargo + + echo "+ Pack" + tar czf ../$EXT-deps-$1.tgz mycargo + popd +else + echo $EXT-$version.tgz missing +fi |