more logging

pull/4656/head
filip mertens 8 months ago committed by Aniket
parent 5777cbc533
commit 00caebd786
  1. 1
      apps/remix-ide/ci/downloadsoljson2.sh
  2. 3
      apps/remix-ide/webpack.config.js

@ -39,6 +39,7 @@ if [ ! -d "./apps/remix-ide/src/assets/js/soljson" ]; then
fi
# Download the file to ./apps/remix-ide/src/assets/js/soljson.js
echo "Downloading soljson.js from "$fullPath" to ./apps/remix-ide/src/assets/js/soljson.js"
curl -s "$fullPath" > ./apps/remix-ide/src/assets/js/soljson.js
# Copy the downloaded soljson.js to the specific version directory

@ -16,9 +16,10 @@ const versionData = {
const loadLocalSolJson = async () => {
//execute apps/remix-ide/ci/downloadsoljson.sh
console.log('loading local soljson')
const child = require('child_process').execSync('bash ' + __dirname + '/ci/downloadsoljson2.sh', { encoding: 'utf8', cwd: process.cwd(), shell: true })
// show output
//console.log(child)
console.log(child)
}
fs.writeFileSync(__dirname + '/src/assets/version.json', JSON.stringify(versionData))

Loading…
Cancel
Save