Skip to content

Commit 294ee40

Browse files
committed
fix: tutorial script packing
1 parent 4f1560e commit 294ee40

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build/zip-tutorial.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
pwd
77
ls -l
88
mkdir -p cjit-tutorial
9-
cp -ra cjit-bin/release/* cjit-tutorial
9+
bins=`ls cjit-bin`
10+
for i in ${bins}; do
11+
mv cjit-bin/${i} cjit-tutorial/`echo ${i} | sed 's/release/cjit/'`
12+
done
1013
cp -ra examples cjit-tutorial
11-
git clone --depth 1 https://github.com/dyne/docs
12-
cp -ra docs/src/cjit cjit-tutorial/docs
14+
git clone --depth 1 https://github.com/dyne/docs dyne-docs
15+
cp -ra dyne-docs/src/cjit cjit-tutorial/docs
1316

1417
zip a cjit-tutorial.zip cjit-tutorial

0 commit comments

Comments
 (0)