From 39fbd296de1f9891b8ab2ddaa23304c43f058a71 Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Wed, 24 Feb 2021 19:20:02 +0800 Subject: [PATCH] feat:update assets file --- doric-cli/assets/android/app/build.gradle | 2 +- doric-cli/assets/iOS/Example.xcodeproj/project.pbxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */