Skip to content

Commit 9b341b2

Browse files
committed
Add step-by-step contribute instruction.
1 parent ad3c9ca commit 9b341b2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It contains **Dart** examples for all classic **GoF** design patterns.
77
- [ ] **Abstract Factory**
88
- [x] **Builder** - [[Color Text Format](https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/builder/color_text_format)]
99
- [ ] **Factory Method**
10-
- [x] **Prototype**] - [[Shapes](https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/prototype/shapes)]
10+
- [x] **Prototype** - [[Shapes](https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/prototype/shapes)]
1111
- [ ] **Singleton**
1212
- [ ] **Behavioral**
1313
- [x] **Chain of Responsibility** - [[Server Middleware](https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/chain_of_responsibility/server_middleware)]
@@ -39,6 +39,16 @@ Some complex examples require **Flutter 2.12**.
3939

4040
We appreciate any help, whether it's a simple fix of a typo or a whole new example. Just [make a fork](https://help.github.com/articles/fork-a-repo/), do your change and submit a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/).
4141

42+
### Step-by-step instruction
43+
1. Just make a fork.
44+
2. Clone the forked repository to your local machine.
45+
3. Create a new branch and name it, for example: fix-issue-32.
46+
4. Make changes.
47+
5. Create commits and push them to your forked Github repository.
48+
6. Submit a pull request to the master branch.
49+
7. Wait for review.
50+
51+
### Style guide
4252
Here's a style guide which might help you to keep your changes consistent with our code:
4353

4454
1. All code should meet the [Effective Dart: Style](https://dart.dev/guides/language/effective-dart/style).

0 commit comments

Comments
 (0)