git ssb

1+

yi / localnative



Tree: 2c1932822a8e06b5876eb875f19924a15ae91539

Files: 2c1932822a8e06b5876eb875f19924a15ae91539 / script / release-web-ext-host

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

Built with git-ssb-web