Skip to content
This repository was archived by the owner on Feb 7, 2019. It is now read-only.

Commit 3c2e23d

Browse files
committed
fix: update scripts for push plugin
1 parent 1204b55 commit 3c2e23d

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ publish/src
2424
publish/package
2525
demo/report/report.html
2626
demo/report/stats.json
27+
src/platforms/android/sync

native-src/android/gradlew

100644100755
File mode changed.

publish/build-android.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if [ ! -d $PLUGIN_TARGET_SUBDIR ]; then
2727
mkdir $PLUGIN_TARGET_SUBDIR
2828
fi
2929

30-
cp -R "$BUILD_OUTPUT_DIR/$PROJECT_NAME-release.aar" $PLUGIN_TARGET_SUBDIR
30+
cp -R "$BUILD_OUTPUT_DIR/$PROJECT_NAME-release.aar" $PLUGIN_TARGET_SUBDIR/pushplugin.aar
3131

3232
echo "force livesync" > "$PLUGIN_TARGET_SUBDIR/sync"
3333

publish/build-ios.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -o pipefail
44
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
55

66
SOURCE_NAME="PushPlugin"
7-
IOS_SOURCE_DIR="$CURRENT_DIR/../src-native/ios"
7+
IOS_SOURCE_DIR="$CURRENT_DIR/../native-src/ios"
88

99
PROJECT_NAME="$SOURCE_NAME.xcodeproj"
1010
TARGET_NAME="$SOURCE_NAME"

publish/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pack() {
5353

5454
# copy LICENSE to src
5555
echo 'Copying README & LICENSE to /src...'
56-
node_modules/.bin/ncp "$ROOT_DIR"/LICENSE.md "$TO_SOURCE_DIR"/LICENSE.md
56+
node_modules/.bin/ncp "$ROOT_DIR"/LICENSE "$TO_SOURCE_DIR"/LICENSE
5757
node_modules/.bin/ncp "$ROOT_DIR"/README.md "$TO_SOURCE_DIR"/README.md
5858

5959
# compile package and copy files required by npm

0 commit comments

Comments
 (0)