Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tor-reproducer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
briar
tor-reproducer
Commits
598ea70e
Verified
Commit
598ea70e
authored
Feb 15, 2019
by
Torsten Grote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't create copy of sources and drop zips in main dir
parent
61e8dd59
Pipeline
#3018
passed with stages
in 30 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
build-tor.py
build-tor.py
+4
-6
No files found.
build-tor.py
View file @
598ea70e
...
...
@@ -27,8 +27,6 @@ def main():
# create sources jar before building
jar_name
=
create_sources_jar
(
versions
)
jar_name_android
=
get_sources_file_name
(
versions
,
android
=
True
)
copy
(
jar_name
,
jar_name_android
)
# build Tor for various platforms and architectures
build
()
...
...
@@ -54,11 +52,11 @@ def main():
# print hashes for debug purposes
for
file
in
file_list
+
[
zip_name
,
jar_name
,
pom_name
]:
sha256hash
=
get_sha256
(
os
.
path
.
join
(
REPO_DIR
,
file
)
)
sha256hash
=
get_sha256
(
file
)
print
(
"
%
s:
%
s"
%
(
file
,
sha256hash
))
print
(
"Android:"
)
for
file
in
file_list_android
+
[
zip_name_android
,
jar_name_android
,
pom_name_android
]:
sha256hash
=
get_sha256
(
os
.
path
.
join
(
REPO_DIR
,
file
)
)
for
file
in
file_list_android
+
[
zip_name_android
,
pom_name_android
]:
sha256hash
=
get_sha256
(
file
)
print
(
"
%
s:
%
s"
%
(
file
,
sha256hash
))
...
...
@@ -238,7 +236,7 @@ def pack(versions, file_list, android=False):
for
filename
in
file_list
:
reset_time
(
os
.
path
.
join
(
REPO_DIR
,
filename
))
# make file times deterministic before zipping
zip_name
=
get_final_file_name
(
versions
,
android
)
check_call
([
'zip'
,
'-D'
,
'-X'
,
zip_name
]
+
file_list
,
cwd
=
REPO_DIR
)
check_call
([
'zip'
,
'-D'
,
'-X'
,
'../'
+
zip_name
]
+
file_list
,
cwd
=
REPO_DIR
)
return
zip_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment