summaryrefslogtreecommitdiffstats
path: root/makedeps.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-06-30 15:48:14 +0200
committerRemi Collet <remi@php.net>2022-06-30 15:48:14 +0200
commitc140925d0040e70390b8a56ee001497c08530b53 (patch)
tree672cd1ded50d17c0fd4416b328ef877143654eac /makedeps.sh
parent67766409ac29f3848c48d1efa7c3d55c648316b3 (diff)
update to 5.0.1
use bundled rust registry
Diffstat (limited to 'makedeps.sh')
-rw-r--r--makedeps.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/makedeps.sh b/makedeps.sh
new file mode 100644
index 0000000..205b292
--- /dev/null
+++ b/makedeps.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ $# -lt 1 ]; then
+ echo usage $0 version
+ exit 0
+fi
+if [ -f skywalking-$1.tgz ]; then
+ echo "+ Unpack"
+ tar xf skywalking-$1.tgz
+
+ pushd skywalking-$1
+ echo "+ Fetch"
+ mkdir mycargo
+ export CARGO_HOME=$PWD/mycargo
+ cargo fetch
+
+ echo "+ Pack"
+ tar czf ../skywalking-deps-$1.tgz mycargo
+ popd
+else
+ echo skywalking-$version.tgz missing
+fi