diff --git a/doric-cli/assets/android/app/build.gradle b/doric-cli/assets/android/app/build.gradle index 88a1a7df..9e42c511 100644 --- a/doric-cli/assets/android/app/build.gradle +++ b/doric-cli/assets/android/app/build.gradle @@ -46,5 +46,5 @@ afterEvaluate { task buildJSBundle(type: Exec) { workingDir project.rootDir.getParent() - commandLine 'doric', 'build' + commandLine 'npm', 'run', 'build' } \ No newline at end of file diff --git a/doric-cli/assets/iOS/Example.xcodeproj/project.pbxproj b/doric-cli/assets/iOS/Example.xcodeproj/project.pbxproj index 2d39e1be..6f4b3f03 100644 --- a/doric-cli/assets/iOS/Example.xcodeproj/project.pbxproj +++ b/doric-cli/assets/iOS/Example.xcodeproj/project.pbxproj @@ -219,7 +219,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n# Type a script or drag a script file from your workspace to insert its path.\n\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\" # This loads nvm\n[ -s \"$NVM_DIR/bash_completion\" ] && \\. \"$NVM_DIR/bash_completion\" # This loads nvm bash_completion\n\ncd ../ && doric build\n"; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n# Type a script or drag a script file from your workspace to insert its path.\n\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\" # This loads nvm\n[ -s \"$NVM_DIR/bash_completion\" ] && \\. \"$NVM_DIR/bash_completion\" # This loads nvm bash_completion\n\ncd ../ && npm run build\n"; }; /* End PBXShellScriptBuildPhase section */