-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.md.footer
54 lines (36 loc) · 1.85 KB
/
README.md.footer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Contributing
------------
Want to contribute? Great!
### Git(?=\$\|Hub\|Lab)
The git setup is a bit unusual in that I'm self-hosting the main repository with
mirrors on [GitHub] and [GitLab]. You cannot engage on the main repository
directly because that would require me to set up a user account for you on my
self-hosted instance first. However, you can open issues or pull / merge
requests on one of the mirrors and I'll sync things with the main repository. If
you're old-school, you can also just send me patches via email. 😄
### Creating a New Challenge
#### Create the Package
To create a package for a new challenge, run the scaffolding script, e.g.
./scaffold Strings/WarpSort
#### Add the Package to the Workspace
Once you have the package, add it to the workspace. Since Xcode tends to mess up
groups and paths, this step is best done by manually editing
`SwiftChallenge.xcworkspace/contents.xcworkspacedata`.
#### Update the Schemes
Add a dedicated shared scheme for building and testing your package. Also add
the tests in the *All* scheme.
#### Flesh out the Package Contents
Every package should contain a problem statement in its README, at least one
*documented* solution and a battery of unit tests for verification.
#### Normalise Markdown and Regenerate the Main README
We use pandoc to enforce a consistent markdown format across the project. Run
the `normalize-markdown` script to reformat all READMEs. Afterwards regenerate
the main README by running the `regenerate-readme` script. This will
automatically list your new package.
License
-------
SwiftChallenge is licensed under the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
[GitHub]: https://github.com/Johennes/swiftchallenge
[GitLab]: https://gitlab.com/cherrypicker/swiftchallenge