You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/DEVELOP.md
+16-29Lines changed: 16 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@
39
39
> [!IMPORTANT]
40
40
> You should check wether or not you have the tools in use in the project like Fastlane, SwiftLint, SwiftFormat, etc.
41
41
> You can have a look for example in the THIRD_PARTY.md file which lists any dependencies and tools we use at different levels (SDK, design system toolbox app, project).
42
-
> Have a look on the locks file to know which versions we are using (Podfile, Podfile.lock, Gemfile, Gemfile.lock, etc.).
42
+
> Have a look on the locks file to know which versions we are using (Gemfile, Gemfile.lock, etc.).
43
43
44
44
> [!IMPORTANT]
45
45
> We use a lot Fastlane for its automatic features and also to wrap to Shell command lines in order to have the same command to trigger
@@ -59,9 +59,6 @@ brew install rbenv
59
59
# Use Bundler to install a major part of dependencies (thanks to Gemfile and Gemfile.lock files)
60
60
bundle install
61
61
62
-
# Use CocoaPods to install other dependencies not available as rubygems (thanks to Podfile and Podfile.lock files)
63
-
bundle exec pod install --repo-update
64
-
65
62
# Update your references
66
63
brew update
67
64
@@ -156,10 +153,9 @@ You should not add in your VCS tool the *{$PROJET}.xcworkspace/contents.xcworksp
156
153
To build the demo application follow those steps:
157
154
158
155
1.`cd DesignToolbox`
159
-
2.`bundle exec pod install`
160
-
3. Open *DesignToolbox.xcworkspace*
161
-
4. Select *DesignToolbox* scheme
162
-
5. Build and run the Application on your device ou simulator
156
+
2. Open *DesignToolbox.xcworkspace*
157
+
3. Select *DesignToolbox* scheme
158
+
4. Build and run the Application on your device ou simulator
163
159
164
160
> [!TIP]
165
161
> You can also move the folder containing a clone of the [Swift package repository](https://github.com/Orange-OpenSource/ouds-ios) from the *Finder* to the design system toolbox Xcode project so as to have a local reference of the package in this demo app.
@@ -215,11 +211,10 @@ The snapshots tests are made to test the rendering of the components and tokens,
215
211
216
212
To run these snapshots tests follow some steps:
217
213
1.`cd DesignToolbox`
218
-
2.`bundle exec pod install`
219
-
3. Open *DesignToolbox.xcworkspace*
220
-
4. Select *DesignToolboxSnapshotsTests* scheme
221
-
5. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
222
-
6. Run tests (Product -> Test)
214
+
2. Open *DesignToolbox.xcworkspace*
215
+
3. Select *DesignToolboxSnapshotsTests* scheme
216
+
4. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
217
+
5. Run tests (Product -> Test)
223
218
224
219
Or run in terminal:
225
220
```shell
@@ -298,11 +293,10 @@ The project contains some UI tests made to test the behavior of components.
298
293
299
294
To run these UI tests follow some steps:
300
295
1. `cd DesignToolbox`
301
-
2. `bundle exec pod install`
302
-
3. Open *DesignToolbox.xcworkspace*
303
-
4. Select *DesignToolboxUITests* scheme
304
-
5. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
305
-
6. Run tests (Product -> Test)
296
+
2. Open *DesignToolbox.xcworkspace*
297
+
3. Select *DesignToolboxUITests* scheme
298
+
4. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
299
+
5. Run tests (Product -> Test)
306
300
307
301
Or run in terminal:
308
302
```shell
@@ -315,10 +309,9 @@ The project contains some unit tests made to test the behavior of some utils in
315
309
316
310
To run these UI tests follow some steps:
317
311
1.`cd DesignToolbox`
318
-
2.`bundle exec pod install`
319
-
3. Open *DesignToolbox.xcworkspace*
320
-
4. Select *DesignToolboxUnitTests* scheme
321
-
5. Run tests in left pane (target *DesignToolboxUnitTests*)
312
+
2. Open *DesignToolbox.xcworkspace*
313
+
3. Select *DesignToolboxUnitTests* scheme
314
+
4. Run tests in left pane (target *DesignToolboxUnitTests*)
322
315
323
316
Or run in terminal:
324
317
```shell
@@ -369,13 +362,7 @@ Sometimes dependencies should be updated, with for example warnings of [Renovate
369
362
370
363
Here is the list of files to update to keep the project clean:
371
364
- CHANGELOG (to note for releases the update of the version)
372
-
- Of course, update and save in your VCS the new states of the _Podfile_, _Package.swift_ or _Gemfile_ for example (and do not forget locks!)
373
-
374
-
Maybe you will need to update your pods repo before if you updated a Pod:
375
-
376
-
```shell
377
-
bundle exec pod install --repo-update
378
-
```
365
+
- Of course, update and save in your VCS the new states of the _Package.swift_ or _Gemfile_ for example (and do not forget locks!)
0 commit comments