Skip to content

Commit

Permalink
Merge branch 'fix/rnv_command' into release/1.0
Browse files Browse the repository at this point in the history
* fix/rnv_command:
  update task descriptions
  • Loading branch information
pavjacko committed Feb 14, 2024
2 parents 162fc66 + ed5073a commit 291e7ed
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 12 deletions.
2 changes: 2 additions & 0 deletions packages/engine-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import taskRnvUnlink from './tasks/task.rnv.unlink';
import taskRnvTelemetryStatus from './tasks/task.rnv.telemetry.status';
import taskRnvTelemetryEnable from './tasks/task.rnv.telemetry.enable';
import taskRnvTelemetryDisable from './tasks/task.rnv.telemetry.disable';
import taskRnvSwitch from './tasks/task.rnv.switch';

const Engine: RnvEngine = {
// initializeRuntimeConfig: () => {
Expand Down Expand Up @@ -90,6 +91,7 @@ const Engine: RnvEngine = {
taskRnvTelemetryStatus,
taskRnvTelemetryEnable,
taskRnvTelemetryDisable,
taskRnvSwitch,
]),
config: {
// title: 'Engine Core',
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-core/src/tasks/task.rnv.platform.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const taskRnvPlatformSetup: RnvTaskFn = async (c, _parentTask, originTask
};

const Task: RnvTask = {
description: '',
description: 'Allows you to change supportedPlatforms for your project',
fn: taskRnvPlatformSetup,
task: TASK_PLATFORM_SETUP,
params: PARAMS.withBase(),
Expand Down
4 changes: 3 additions & 1 deletion packages/engine-core/src/tasks/task.rnv.switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import {
export const taskRnvSwitch: RnvTaskFn = async (c, _parentTask, originTask) => {
logTask('taskRnvSwitch');

c.program.appConfigID = true;

await executeTask(c, TASK_PROJECT_CONFIGURE, TASK_SWITCH, originTask);

await copyRuntimeAssets(c);
Expand All @@ -24,7 +26,7 @@ export const taskRnvSwitch: RnvTaskFn = async (c, _parentTask, originTask) => {
};

const Task: RnvTask = {
description: '',
description: 'Switch between different app configs in current project',
fn: taskRnvSwitch,
task: TASK_SWITCH,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const taskRnvWorkspaceConfigure: RnvTaskFn = async (c) => {
};

const Task: RnvTask = {
description: '',
description: 'Preconfigures your current workspace defined via "workspaceID" prop in renative config file',
fn: taskRnvWorkspaceConfigure,
task: TASK_WORKSPACE_CONFIGURE,
params: PARAMS.withBase(),
Expand Down
3 changes: 2 additions & 1 deletion packages/engine-core/src/tasks/task.rnv.workspace.update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ export const taskRnvWorkspaceUpdate: RnvTaskFn = async (c, _parentTask, originTa
};

const Task: RnvTask = {
description: '',
description: 'TODO: unused task',
fn: taskRnvWorkspaceUpdate,
task: TASK_WORKSPACE_UPDATE,
params: PARAMS.withBase(),
platforms: [],
isGlobalScope: true,
isPrivate: true,
};

export default Task;
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const taskRnvCryptoInstallCerts: RnvTaskFn = async (c, _parentTask, origi
};

const Task: RnvTask = {
description: '',
description: 'Installs certificates into keychain (mac only)',
fn: taskRnvCryptoInstallCerts,
task: TASK_CRYPTO_INSTALL_CERTS,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const taskRnvCryptoInstallProfiles: RnvTaskFn = async (c, _parentTask, or
};

const Task: RnvTask = {
description: '',
description: 'Installs provisioning certificates found in your workspace (mac only)',
fn: taskRnvCryptoInstallProfiles,
task: TASK_CRYPTO_INSTALL_PROFILES,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const taskRnvCryptoUpdateProfile: RnvTaskFn = async (c, _parentTask, orig
};

const Task: RnvTask = {
description: 'Update provisioning profile',
description: 'Update provisioning profile (mac only)',
fn: taskRnvCryptoUpdateProfile,
task: TASK_CRYPTO_UPDATE_PROFILE,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const taskRnvCryptoUpdateProfiles: RnvTaskFn = async (c, _parentTask, ori
};

const Task: RnvTask = {
description: '',
description: 'Will attempt to update all provisioning profiles (mac only)',
fn: taskRnvCryptoUpdateProfiles,
task: TASK_CRYPTO_UPDATE_PROFILES,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const taskRnvCryptoInstallCerts: RnvTaskFn = async (c, _parentTask, origi
};

const Task: RnvTask = {
description: '',
description: 'Installs certificates into keychain (mac only)',
fn: taskRnvCryptoInstallCerts,
task: TASK_CRYPTO_INSTALL_CERTS,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const taskRnvCryptoInstallProfiles: RnvTaskFn = async (c, _parentTask, or
};

const Task: RnvTask = {
description: '',
description: 'Installs provisioning certificates found in your workspace (mac only)',
fn: taskRnvCryptoInstallProfiles,
task: TASK_CRYPTO_INSTALL_PROFILES,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const taskRnvCryptoUpdateProfile: RnvTaskFn = async (c, _parentTask, orig
};

const Task: RnvTask = {
description: 'Update provisioning profile',
description: 'Update provisioning profile (mac only)',
fn: taskRnvCryptoUpdateProfile,
task: TASK_CRYPTO_UPDATE_PROFILE,
params: PARAMS.withBase(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const taskRnvCryptoUpdateProfiles: RnvTaskFn = async (c, _parentTask, ori
};

const Task: RnvTask = {
description: '',
description: 'Will attempt to update all provisioning profiles (mac only)',
fn: taskRnvCryptoUpdateProfiles,
task: TASK_CRYPTO_UPDATE_PROFILES,
params: PARAMS.withBase(),
Expand Down

0 comments on commit 291e7ed

Please sign in to comment.