Quick hack
This commit is contained in:
parent
784a176d8a
commit
bde0d5fae3
2 changed files with 31 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,5 +7,6 @@ tests/messages
|
|||
tests/debuglog
|
||||
test.log
|
||||
gadgets/
|
||||
package/
|
||||
*.pyc
|
||||
*.dSYM
|
||||
|
|
|
|||
30
make_package
Executable file
30
make_package
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
OS=$1
|
||||
shift
|
||||
|
||||
VERSION=$1
|
||||
shift
|
||||
|
||||
ROOT=$(pwd)
|
||||
PACK=${ROOT}/package/${OS}
|
||||
|
||||
pushd ${PACK}
|
||||
mkdir -p vimspector/opt
|
||||
mkdir -p vimspector/start
|
||||
pushd vimspector/start
|
||||
for d in autoload plugin python3 vendor doc; do
|
||||
if [[ -d ${ROOT}/$d ]]; then
|
||||
cp -r ${ROOT}/$d .
|
||||
fi
|
||||
done
|
||||
mkdir -p gadgets
|
||||
pushd gadgets
|
||||
cp ${ROOT}/gadgets/.gadgets.json .
|
||||
cp -r ${ROOT}/gadgets/${OS} .
|
||||
popd
|
||||
popd
|
||||
popd
|
||||
|
||||
cd ${ROOT}/package
|
||||
tar zcvf ${OS}-${VERSION}.tar.gz ${OS}/
|
||||
Loading…
Add table
Add a link
Reference in a new issue