This repository was archived by the owner on Sep 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
google-closure-compiler-linux-arm64
google-closure-compiler-linux Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
/*
3
- * Copyright 2018 The Closure Compiler Authors.
3
+ * Copyright 2025 The Closure Compiler Authors.
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ const runCommand = require('../../build-scripts/run-command');
28
28
29
29
if ( fs . existsSync ( path . resolve ( __dirname , 'compiler' ) ) ) {
30
30
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux-arm64 binary already exists${ RESET } \n` ) ;
31
- } else if ( process . platform !== 'linux' ) {
31
+ } else if ( process . platform !== 'linux' || process . arch !== 'arm64' ) {
32
32
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux-arm64 build wrong platform${ RESET } \n` ) ;
33
33
} else {
34
34
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux-arm64 building image${ RESET } \n` ) ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2018 The Closure Compiler Authors.
2
+ * Copyright 2025 The Closure Compiler Authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
/*
3
- * Copyright 2018 The Closure Compiler Authors.
3
+ * Copyright 2025 The Closure Compiler Authors.
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const runCommand = require('../../build-scripts/run-command');
28
28
29
29
if ( fs . existsSync ( path . resolve ( __dirname , 'compiler' ) ) ) {
30
30
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux binary already exists${ RESET } \n` ) ;
31
- } else if ( process . platform !== 'linux' ) {
31
+ } else if ( process . platform !== 'linux' || [ 'x86' , 'x64' ] . includes ( process . arch ) ) {
32
32
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux build wrong platform${ RESET } \n` ) ;
33
33
} else {
34
34
process . stdout . write ( ` ${ DIM } google-closure-compiler-linux building image${ RESET } \n` ) ;
You can’t perform that action at this time.
0 commit comments