Skip to content

Commit

Permalink
add default workspace config
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaDiachenko committed Nov 12, 2024
1 parent b803d0d commit e491e5a
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,17 @@ export default createTask({
copyFileSync(oldGlobalConfigPath, paths.workspace.config);
} else {
logInfo(`${paths.workspace.dir}/${RnvFileName.renative} file missing! Creating one for you...`);
writeFileSync(paths.workspace.config, '{}');
const defaultWorkspaceCnf = {
sdks: {
ANDROID_SDK: '/Users/<USER>/Library/Android/sdk',
ANDROID_NDK: '/Users/<USER>/Library/Android/sdk/ndk-bundle',
IOS_SDK: 'No need. Just install Xcode',
TIZEN_SDK: '/Users/<USER>/tizen-studio',
WEBOS_SDK: '/Users/<USER>/Library/webOS_TV_SDK',
KAIOS_SDK: '/Applications/Kaiosrt.app',
},
};
writeFileSync(paths.workspace.config, JSON.stringify(defaultWorkspaceCnf, null, 2));
}
}

Expand Down

0 comments on commit e491e5a

Please sign in to comment.