Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 72bbed7

Browse files
committed
Use C++17
1 parent 094c71a commit 72bbed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎electron/packager/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
//-------------------------------------------------------------------------------------------------+
104104
// Rebuild the extension with the copied `yarn.lock`. It is a must to use the same Theia versions. |
105105
//-------------------------------------------------------------------------------------------------+
106-
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', workingCopy)}`, `Building the ${productName} application`);
106+
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', workingCopy)} -std=c++17`, `Building the ${productName} application`);
107107

108108
//-------------------------------------------------------------------------------------------------------------------------+
109109
// Test the application. With this approach, we cannot publish test results to GH Actions but save 6-10 minutes per builds |
@@ -176,8 +176,8 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
176176
//-------------------------------------------------------------------------------------------+
177177
// Install all private and public dependencies for the electron application and build Theia. |
178178
//-------------------------------------------------------------------------------------------+
179-
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')}`, 'Installing dependencies');
180-
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''}`, `Building the ${productName} application`);
179+
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} -std=c++17`, 'Installing dependencies');
180+
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''} -std=c++17`, `Building the ${productName} application`);
181181

182182
//------------------------------------------------------------------------------+
183183
// Create a throw away dotenv file which we use to feed the builder with input. |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /