-
-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from DedSecInside/update_release
Update release
- Loading branch information
Showing
5 changed files
with
64 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,6 @@ venv/ | |
.DS_Store | ||
data/ | ||
torbot/modules/nlp/training_data/ | ||
|
||
# Deployment artifacts | ||
dist |
Submodule gotor
updated
from e2d19c to 59972c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Makes directory for dependencies and executable to be installed | ||
mkdir -p tmp_build | ||
mkdir -p tmp_dist | ||
echo "Installing torbot" | ||
echo | ||
python -m pip install torbot | ||
echo | ||
echo "TorBot installed. Run with 'python -m torbot'" | ||
echo | ||
|
||
pip install pyinstaller | ||
echo "Setting GOPATH to access executable" | ||
export PATH=${PATH}:`go env GOPATH`/bin | ||
echo "New Path ${PATH}" | ||
echo | ||
|
||
# Creates executable file and sends dependences to the recently created directories | ||
pyinstaller --onefile --workpath ./tmp_build --distpath ./tmp_dist --paths=src torbot/main.py | ||
|
||
# Puts the executable in the current directory | ||
mv tmp_dist/torBot . | ||
|
||
# Removes both directories and unneeded file | ||
rm -r tmp_build tmp_dist | ||
rm torBot.spec | ||
echo "Installing gotor" | ||
echo | ||
cd gotor/cmd/main | ||
go install gotor.go | ||
echo "Gotor installed. Run with 'gotor'." | ||
|
||
cd ../../.. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters