By submitting a pull request, you represent that you have the right to license your contribution to the community, and agree by submitting the patch
that your contributions are licensed under the MIT (see LICENSE
).
Please ensure to specify the following:
- SwiftCurrency commit hash
- Simplest possible steps to reproduce
- A pull request with a failing test case is preferred, but it's just as fine to write it in the issue description
- Environment Information
- Locale of device(s)
- OS version and output of
uname -a
- Swift version or output of
swift --version
master
is always the development branch.
For minor or patch SemVer changes, create a branch off of the tagged commit.
A great PR that is likely to be merged quickly is:
- Concise, with as few changes as needed to achieve the end result.
- Tested, ensuring that regressions aren't introduced now or in the future.
- Documented, adding API documentation as needed to cover new functions and properties.
- Accompanied by a great commit message
You will need gyb installed on your machine.
After updating the Resources/ISO4217.csv
with the latest from the ISO Currency Workgroup,
run the following command:
find . -name '*.gyb' | \
while read file; do \
$(which gyb) --line-directive '' -o "${file%.gyb}" "$file"; \
done
All contributors are expected to adhere to this project's Code of Conduct.