Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f0721bd5
Commit
f0721bd5
authored
Jan 19, 2021
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
custom runs option added
parent
02c68046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
run.ts
libs/remix-tests/src/run.ts
+9
-0
No files found.
libs/remix-tests/src/run.ts
View file @
f0721bd5
...
@@ -103,6 +103,15 @@ commander
...
@@ -103,6 +103,15 @@ commander
log
.
info
(
`Optimization is
${
compilerConfig
.
optimize
?
'enabled'
:
'disabled'
}
`
)
log
.
info
(
`Optimization is
${
compilerConfig
.
optimize
?
'enabled'
:
'disabled'
}
`
)
}
}
if
(
commander
.
runs
)
{
if
(
!
commander
.
optimize
)
{
log
.
error
(
`Optimization should be enabled for runs`
)
process
.
exit
()
}
compilerConfig
.
runs
=
commander
.
runs
log
.
info
(
`Runs set to
${
compilerConfig
.
runs
}
`
)
}
const
web3
=
new
Web3
()
const
web3
=
new
Web3
()
const
provider
:
any
=
new
Provider
()
const
provider
:
any
=
new
Provider
()
await
provider
.
init
()
await
provider
.
init
()
...
...
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