Skip to content

Commit

Permalink
Cleanup the dev bootstrap process, no need for our hack anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz committed Mar 14, 2018
1 parent 048924d commit c9f3185
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 19 deletions.
5 changes: 0 additions & 5 deletions detox/scripts/postinstall.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash -e

if [ "$__DETOX_DEV" = true ]; then
echo "Running postinstall for detox dev mode, exiting"
exit 0
fi

if [ `uname` == "Darwin" ]; then
source "$(dirname ${0})/build_framework.ios.sh"
fi
2 changes: 1 addition & 1 deletion docs/Guide.Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git submodule update --init --recursive
### Installing and linking internal projects

```sh
scripts/bootstrap.sh
lerna bootstrap
```

### Building
Expand Down
4 changes: 2 additions & 2 deletions examples/demo-native-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"e2e": "mocha e2e --opts ./e2e/mocha.opts"
},
"devDependencies": {
"mocha": "^3.2.0",
"detox": "^6.0.0"
"mocha": "^4.0.0",
"detox": "^7.0.0"
},
"detox": {}
}
4 changes: 2 additions & 2 deletions examples/demo-native-ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"mocha": "^3.2.0",
"detox": "^6.0.0"
"mocha": "^4.0.0",
"detox": "^7.0.0"
},
"detox": {
"specs": "e2e",
Expand Down
8 changes: 0 additions & 8 deletions scripts/bootstrap.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -z ${REACT_NATIVE_VERSION} ]; then
node scripts/change_react_native_version.js "detox/test" ${REACT_NATIVE_VERSION}
fi

run_f "$(dirname "$0")/bootstrap.sh"
run_f "lerna bootstrap"

run_f "lerna run --ignore detox-demo* build"
run_f "lerna run --ignore detox-demo* test"

0 comments on commit c9f3185

Please sign in to comment.