Onionr/install/make-release.sh

19 lines
423 B
Bash
Raw Normal View History

2020-01-09 03:56:49 +00:00
#!/bin/sh
set -e
cd ..
rm -rf dist
mkdir dist
mkdir dist/onionr/
cp -t dist/onionr/ -r docs static-data install src onionr.sh start-daemon.sh setprofile.sh
cp *.md dist/onionr/
2020-01-09 03:56:49 +00:00
PIP_USER=false
export PIP_USER
pip3 install --require-hashes -r requirements.txt --target=dist/onionr/onionr/
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/onionr/
cd dist
2020-01-09 03:56:49 +00:00
tar -czvf onionr.tar.gz onionr