Skip to content

Commit

Permalink
Update script to build for iOS and Android (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored Nov 30, 2023
1 parent f5d7492 commit 3a04b9d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 53 deletions.
67 changes: 21 additions & 46 deletions v4-client-js/__native__/__ios__/v4-native-client.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v4-client-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "1.0.6",
"version": "1.0.7",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions v4-client-js/scripts/ios_build_pack.sh

This file was deleted.

5 changes: 5 additions & 0 deletions v4-client-js/scripts/mobile_build_pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

npm run webpack
cp __native__/__ios__/v4-native-client.js ~/v4-native-ios/dydx/dydxPresenters/dydxPresenters/_Features
cp __native__/__ios__/v4-native-client.js ~/native-android/v4/integration/cosmos/src/main/assets/

0 comments on commit 3a04b9d

Please sign in to comment.