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: How to Contribute.markdown
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Want to help out with the Swift Algorithm Club? Great!
6
6
7
7
Take a look at the [list](README.markdown). Any algorithms or data structures that don't have a link yet are up for grabs.
8
8
9
-
New algorithms and data structures are always welcome (even if they aren't on the list).
9
+
New algorithms and data structures are always welcome (even if they aren't on the list).
10
10
11
-
We're always interested in improvements to existing implementations and better explanations. Suggestions for making the code more Swift-like or to make it fit better with the standard library.
11
+
We're always interested in improvements to existing implementations and better explanations. Suggestions for making the code more Swift-like or to make it fit better with the standard library.
12
12
13
13
Unit tests. Fixes for typos. No contribution is too small. :-)
14
14
@@ -21,6 +21,13 @@ To keep this a high quality repo, please follow this process when submitting you
21
21
3. Write an explanation of how the algorithm works. Include **plenty of examples** for readers to follow along. Pictures are good. Take a look at [the explanation of quicksort](Quicksort/) to get an idea.
22
22
4. Include your name in the explanation, something like *Written by Your Name* at the end of the document. If you wrote it, you deserve the credit and fame.
23
23
5. Add a playground and/or unit tests.
24
+
- Add unit test projects to `.travis.yml` so they will be run on [Travis-CI](https://travis-ci.org/hollance/swift-algorithm-club)
25
+
-`- xcodebuild test -project ./Algorithm/Tests/Tests.xcodeproj -scheme Tests`
26
+
- Configure scheme to run on Travis-CI
27
+
- Open `Product` -> `Scheme` -> `Manage Schemes ...`
28
+
- Uncheck `Autocreate schemes`
29
+
- Check `Shared`
30
+
-[Screenshot of scheme settings](/images/scheme-settings-for-travis.png)
24
31
25
32
Just so you know, I will probably edit your text and code for grammar etc, just to ensure a certain level of polish.
0 commit comments