Skip to content

Commit

Permalink
Create kotlin assets directory
Browse files Browse the repository at this point in the history
  • Loading branch information
langleyd committed Aug 10, 2023
1 parent f45a2b3 commit e1d97d2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/generateJson.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
set -e

yarn start
cp build/emojibase.json platforms/ios/Emojibase/Resources/emojibase.json
cp build/emojibase.json platforms/android/library/src/main/assets/emojibase.json

EMOJIJSON_FILE="build/emojibase.json"
SWIFT_PATH="platforms/ios/Emojibase/Resources/emojibase.json"
KOTLIN_PATH="platforms/android/library/src/main/assets/emojibase.json"

cp "$EMOJIJSON_FILE" "$SWIFT_PATH"
mkdir -p "$KOTLIN_PATH" && cp "$EMOJIJSON_FILE" "$KOTLIN_PATH"

0 comments on commit e1d97d2

Please sign in to comment.