Skip to content

Commit a6aff48

Browse files
cameelchriseth
authored andcommitted
update script: Manage emscripten-asmjs/ symlinks similarly to the ones in emscripten-wasm32/
1 parent bc98f97 commit a6aff48

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

update

+6-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ function processDir (dir, listCallback) {
207207

208208
const DIRS = [
209209
'/bin',
210-
'/emscripten-asmjs',
211210
'/linux-amd64',
212211
'/macosx-amd64',
213212
'/windows-amd64'
@@ -227,10 +226,16 @@ DIRS.forEach(function (dir) {
227226
path.join('/wasm', release.path),
228227
path.join('..', 'bin', release.path)
229228
)
229+
} else {
230+
updateSymlinkSync(
231+
path.join('/emscripten-asmjs', 'solc-emscripten-asmjs-v' + release.longVersion + '.js'),
232+
path.join('..', 'bin', release.path)
233+
)
230234
}
231235
}
232236
})
233237

238+
processDir('/emscripten-asmjs')
234239
processDir('/wasm', function (parsedList) {
235240
// Any new releases added to wasm/ need to be linked in emscripten-wasm32/ first.
236241
parsedList.forEach(function (release) {

0 commit comments

Comments
 (0)