Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
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
wanli
evm-store
Commits
253e2f1f
Commit
253e2f1f
authored
Aug 10, 2021
by
wanliofficial
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(view/api.py): 修复生成字节码文件bug
parent
5287727b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
backend/executable.bc
backend/executable.bc
+0
-0
backend/view/api.py
backend/view/api.py
+3
-5
No files found.
backend/executable.bc
deleted
100644 → 0
View file @
5287727b
File deleted
backend/view/api.py
View file @
253e2f1f
...
@@ -191,11 +191,9 @@ def action_build():
...
@@ -191,11 +191,9 @@ def action_build():
fd
.
write
(
text
)
fd
.
write
(
text
)
result
=
subprocess
.
call
(
"./executable -c {file}"
.
format
(
file
=
file
),
shell
=
True
)
result
=
subprocess
.
call
(
"./executable -c {file}"
.
format
(
file
=
file
),
shell
=
True
)
logger
.
info
(
result
)
new_name
=
"{}.{}"
.
format
(
Path
(
file
)
.
name
,
"bc"
)
os
.
rename
(
os
.
sep
.
join
([
os
.
getcwd
(),
"executable.bc"
]),
os
.
sep
.
join
([
os
.
getcwd
(),
new_name
]))
t
=
Path
(
file
)
dst_files
.
append
(
Path
(
os
.
getcwd
())
.
joinpath
(
new_name
))
res
=
t
.
rename
(
"{}.{}"
.
format
(
t
.
name
,
"bc"
))
dst_files
.
append
(
res
)
for
file
in
dst_files
:
for
file
in
dst_files
:
z
.
write
(
file
.
resolve
()
.
as_posix
(),
arcname
=
file
.
name
)
z
.
write
(
file
.
resolve
()
.
as_posix
(),
arcname
=
file
.
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