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
cc8dca19
Unverified
Commit
cc8dca19
authored
Jun 02, 2021
by
yann300
Committed by
GitHub
Jun 02, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1240 from ethereum/bultinf
exclude builtin version from check
parents
8c767694
e144e82e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
config.yml
.circleci/config.yml
+4
-3
compilerContainer.js
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
+3
-2
package.json
package.json
+1
-1
No files found.
.circleci/config.yml
View file @
cc8dca19
...
...
@@ -238,8 +238,8 @@ jobs:
steps
:
-
checkout
-
run
:
npm install
-
run
:
npx nx build remix-ide --with-deps
-
run
:
npm run downloadsolc_assets
-
run
:
npx nx build remix-ide --with-deps
-
run
:
name
:
Deploy
command
:
|
...
...
@@ -267,6 +267,7 @@ jobs:
-
checkout
-
setup_remote_docker
-
run
:
npm install
-
run
:
npm run downloadsolc_assets
-
run
:
npx nx build remix-ide --with-deps
-
run
:
./apps/remix-ide/ci/copy_resources.sh
-
run
:
./apps/remix-ide/ci/publishIpfs
...
...
@@ -291,8 +292,8 @@ jobs:
steps
:
-
checkout
-
run
:
npm install
-
run
:
npx nx build remix-ide --with-deps
-
run
:
npm run downloadsolc_assets
-
run
:
npx nx build remix-ide --with-deps
-
run
:
name
:
Deploy
command
:
|
...
...
@@ -320,8 +321,8 @@ jobs:
-
checkout
-
run
:
npm install
-
run
:
npm run build:libs
-
run
:
npm run build
-
run
:
npm run downloadsolc_assets
-
run
:
npm run build
-
run
:
name
:
Deploy
command
:
|
...
...
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
View file @
cc8dca19
...
...
@@ -170,6 +170,7 @@ class CompilerContainer {
_retrieveVersion
(
version
)
{
if
(
!
version
)
version
=
this
.
_view
.
versionSelector
.
value
if
(
version
===
'builtin'
)
version
=
this
.
data
.
defaultVersion
return
semver
.
coerce
(
version
)
?
semver
.
coerce
(
version
).
version
:
''
}
...
...
@@ -487,7 +488,7 @@ class CompilerContainer {
this
.
_view
.
versionSelector
.
appendChild
(
option
)
}
})
if
(
semver
.
lt
(
this
.
_retrieveVersion
(),
'v0.4.12+commit.194ff033.js'
))
{
if
(
this
.
data
.
selectedVersion
!==
'builtin'
&&
semver
.
lt
(
this
.
_retrieveVersion
(),
'v0.4.12+commit.194ff033.js'
))
{
toaster
(
yo
`
<div>
<b>Old compiler usage detected.</b>
...
...
@@ -500,7 +501,7 @@ class CompilerContainer {
// Workers cannot load js on "file:"-URLs and we get a
// "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium,
// resort to non-worker version in that case.
if
(
this
.
data
.
selectedVersion
!==
'builtin'
&&
canUseWorker
(
this
.
data
.
selectedVersion
))
{
if
(
canUseWorker
(
this
.
_retrieveVersion
()
))
{
this
.
compileTabLogic
.
compiler
.
loadVersion
(
true
,
url
)
this
.
setVersionText
(
'(loading using worker)'
)
}
else
{
...
...
package.json
View file @
cc8dca19
...
...
@@ -50,7 +50,7 @@
"bumpVersion:libs"
:
"gulp & gulp syncLibVersions;"
,
"browsertest"
:
"sleep 5 && npm run nightwatch_local"
,
"csslint"
:
"csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/src/assets/css/font-awesome.min.css' apps/remix-ide/src/assets/css/"
,
"downloadsolc_assets"
:
"wget --no-check-certificate https://binaries.soliditylang.org/
bin
/soljson-v0.8.4+commit.c7e474f2.js -O ./apps/remix-ide/src/assets/js/soljson.js"
,
"downloadsolc_assets"
:
"wget --no-check-certificate https://binaries.soliditylang.org/
wasm
/soljson-v0.8.4+commit.c7e474f2.js -O ./apps/remix-ide/src/assets/js/soljson.js"
,
"make-mock-compiler"
:
"node apps/remix-ide/ci/makeMockCompiler.js"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"nightwatch_parallel"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome,firefox"
,
...
...
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