Files: 2c1932822a8e06b5876eb875f19924a15ae91539 / script / release-web-ext-host
525 bytesRaw
1 | |
2 | |
3 | set -e |
4 | |
5 | cd `dirname $0`/.. |
6 | |
7 | script/set-version $1 |
8 | echo "release web-ext-host version" $1 |
9 | |
10 | |
11 | cd localnative-rs/localnative_cli |
12 | cargo build --release |
13 | |
14 | cd ../.. |
15 | |
16 | if [[ "$OSTYPE" == "linux-gnu" ]]; then |
17 | POSTFIX="-gnu-linux" |
18 | elif [[ "$OSTYPE" == "darwin"* ]]; then |
19 | POSTFIX="-mac" |
20 | elif [[ "$OSTYPE" == "cygwin" ]]; then |
21 | POSTFIX=".exe" |
22 | fi |
23 | |
24 | DIR=localnative-neon/lib |
25 | FILE="localnative-web-ext-host-$1$POSTFIX" |
26 | rm -f $DIR/localnative-web-ext-host* |
27 | cp localnative-rs/target/release/localnative-web-ext-host $DIR/$FILE |
28 |
Built with git-ssb-web