Skip to content

Commit 1a36b45

Browse files
authored
[MOB-9969] Change Directory Structure (#706)
* Move package files under `src` * Move test files under `test` * Rename `InstabugSample` dir to `example`
1 parent 9596788 commit 1a36b45

File tree

121 files changed

+75
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+75
-75
lines changed

.circleci/config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949
- checkout:
5050
path: ~/project
5151
- run: yarn
52-
- run: cd InstabugSample && yarn install
52+
- run: cd example && yarn install
5353

5454
- run:
5555
name: jest tests
5656
command: |
57-
cd InstabugSample
57+
cd example
5858
mkdir -p test-results/jest
5959
yarn test
6060
environment:
@@ -63,19 +63,19 @@ jobs:
6363
- persist_to_workspace:
6464
root: ~/project
6565
paths:
66-
- InstabugSample/node_modules
66+
- example/node_modules
6767

6868
- store_test_results:
69-
path: InstabugSample/test-results
69+
path: example/test-results
7070

7171
- store_artifacts:
72-
path: InstabugSample/test-results
72+
path: example/test-results
7373

7474
test_android:
7575
executor:
7676
name: android/android-machine
7777
tag: "2022.03.1"
78-
working_directory: ~/project/InstabugSample
78+
working_directory: ~/project/example
7979
steps:
8080
- checkout:
8181
path: ~/project
@@ -113,15 +113,15 @@ jobs:
113113
steps:
114114
- checkout
115115
- run: yarn
116-
- run: cd InstabugSample && yarn
117-
- run: cd InstabugSample/ios && pod install
116+
- run: cd example && yarn
117+
- run: cd example/ios && pod install
118118
- run: git --no-pager diff
119119
- run: git diff-index HEAD --exit-code -p -I EXCLUDED_ARCHS # Ignore Arch Changes
120120

121121
test_ios:
122122
macos:
123-
xcode: "13.4.1"
124-
working_directory: ~/project/InstabugSample
123+
xcode: 13.4.1
124+
working_directory: ~/project/example
125125
environment:
126126
FL_OUTPUT_DIR: output
127127
steps:
@@ -142,8 +142,8 @@ jobs:
142142
no_output_timeout: 30m
143143
e2e_ios:
144144
macos:
145-
xcode: "13.4.1"
146-
working_directory: ~/project/InstabugSample
145+
xcode: 13.4.1
146+
working_directory: ~/project/example
147147
environment:
148148
FL_OUTPUT_DIR: output
149149
steps:
@@ -179,7 +179,7 @@ jobs:
179179
name: android/android-machine
180180
tag: "2022.03.1"
181181
resource-class: large
182-
working_directory: ~/project/InstabugSample/android
182+
working_directory: ~/project/example/android
183183
steps:
184184
- checkout:
185185
path: ~/project

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ android/.settings
1717
ios/.DS_Store
1818

1919
build/
20-
InstabugSample/
20+
example/
2121
node_modules/
2222
coverage/
23-
__tests__/
23+
test/
2424

2525
Dangerfile
2626
babel.config.js

0 commit comments

Comments
 (0)