Skip to content

Commit a69566a

Browse files
author
Aaron Sutton
authored
Merge pull request #1 from aaronjsutton/develop
Develop
2 parents 39f3326 + 32ad306 commit a69566a

7 files changed

Lines changed: 24 additions & 16 deletions

File tree

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ If you wish to fix a bug or add a feature to Deck, do so by:
66
2. Forking the repository, and creating a new branch for your feature or fix.
77
3. Committing your changes and submit a PR against `develop`.
88

9-
Thank you for helping to improve Deck.
9+
## Documentation Generation
10+
11+
When you submit a PR and it is merged, documentation is automatically generated and updated by CI.
12+
13+
For development purposes, docs can be generated by running the `generate-docs`
14+
script located in `/scripts`.
15+
You must have [Doxygen](https://www.stack.nl/~dimitri/doxygen) installed.
16+
17+
Thank you for helping to improve Deck.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Deck is a library that models and manipulates a
44
simulated deck of cards.
55

6+
[![Build Status](https://travis-ci.com/aaronjsutton/deck.svg?branch=master)](https://travis-ci.com/aaronjsutton/deck)
7+
68
# Getting Started
79
Read the [Quick Start Guide](https://github.com/aaronjsutton/deck/wiki/Deck-Quick-Start-Guide) to learn how to use Deck.
810

deck.xcodeproj/project.pbxproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@
5656
/* Begin PBXFileReference section */
5757
CC0E129320C77E95002A3839 /* example */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = example; sourceTree = BUILT_PRODUCTS_DIR; };
5858
CC0E129520C77E95002A3839 /* deal.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = deal.c; sourceTree = "<group>"; };
59-
CC0FED3A20C721E6001108A4 /* test-wrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "test-wrapper.h"; sourceTree = "<group>"; };
59+
CC0FED3A20C721E6001108A4 /* test-bridge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "test-bridge.h"; sourceTree = "<group>"; };
6060
CC1775D720C6D5CD00A183A2 /* Doxyfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Doxyfile; sourceTree = "<group>"; };
6161
CC1775D820C6D5CD00A183A2 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
6262
CC1775D920C6D5CD00A183A2 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
6363
CC1775DD20C6D5CD00A183A2 /* deploy_rsa.enc */ = {isa = PBXFileReference; lastKnownFileType = text; path = deploy_rsa.enc; sourceTree = "<group>"; };
64-
CC1775DF20C6D5CD00A183A2 /* upload_docs.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = upload_docs.rb; sourceTree = "<group>"; };
6564
CC1775E020C6D5CD00A183A2 /* generate_docs.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = generate_docs.rb; sourceTree = "<group>"; };
6665
CC1775E320C6D5CD00A183A2 /* deck.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = deck.h; sourceTree = "<group>"; };
6766
CC1775E420C6D5CD00A183A2 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
@@ -122,7 +121,6 @@
122121
isa = PBXGroup;
123122
children = (
124123
CC1775DB20C6D5CD00A183A2 /* deploy */,
125-
CC1775DF20C6D5CD00A183A2 /* upload_docs.rb */,
126124
CC1775E020C6D5CD00A183A2 /* generate_docs.rb */,
127125
);
128126
path = scripts;
@@ -153,7 +151,7 @@
153151
children = (
154152
CC1775ED20C6D5CD00A183A2 /* munit */,
155153
CC1775FB20C6D5CD00A183A2 /* deck_tests.c */,
156-
CC0FED3A20C721E6001108A4 /* test-wrapper.h */,
154+
CC0FED3A20C721E6001108A4 /* test-bridge.h */,
157155
CCEE8F1720C71D880097C60D /* deck_unit_tests.m */,
158156
CC1775EC20C6D5CD00A183A2 /* Makefile */,
159157
CCEE8F1920C71D880097C60D /* Info.plist */,
@@ -196,11 +194,11 @@
196194
CC7152E920CA094D00D37C72 /* CONTRIBUTING.md */,
197195
CC1775D920C6D5CD00A183A2 /* README.md */,
198196
CC1775D720C6D5CD00A183A2 /* Doxyfile */,
197+
CC1775D820C6D5CD00A183A2 /* Makefile */,
199198
CCACB5DA20C743F5008AE676 /* assets.xcassets */,
200199
CC1775DA20C6D5CD00A183A2 /* scripts */,
201200
CC1775E120C6D5CD00A183A2 /* src */,
202201
CC1775EA20C6D5CD00A183A2 /* test */,
203-
CC1775D820C6D5CD00A183A2 /* Makefile */,
204202
CC0E129420C77E95002A3839 /* example */,
205203
CC17761320C6E69C00A183A2 /* Products */,
206204
CCEE8F1D20C71D9F0097C60D /* Frameworks */,

example/deal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// main.c
2+
// deal.c
33
// example
44
//
55
// Created by Aaron Sutton on 6/5/18.

test/deck_tests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "munit/munit.h"
22
#include "../src/deck.h"
33
#include "../src/shuffle.h"
4-
#include "test-wrapper.h"
4+
#include "test-bridge.h"
55

66
/****************************************/
77
/* Setup/Teardown */

test/deck_unit_tests.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//
2-
// deck_unit_tests.m
3-
// deck-unit-tests
4-
//
5-
// Created by Aaron Sutton on 6/5/18.
6-
//
1+
//
2+
// deck_unit_tests.m
3+
// deck-unit-tests
4+
//
5+
// Created by Aaron Sutton on 6/5/18.
6+
//
77

88
#import <XCTest/XCTest.h>
9-
#import "test-wrapper.h"
9+
#import "test-bridge.h"
1010
#import "munit/munit.h"
1111
#import "../src/deck.h"
1212

@@ -17,7 +17,7 @@ @interface deck_unit_tests : XCTestCase
1717
@implementation deck_unit_tests
1818

1919
/**
20-
µnit test wrapper.
20+
µnit test wrapper for Xcode.
2121
*/
2222
- (void)testDeck {
2323
int res = obcj_deck_tests();
File renamed without changes.

0 commit comments

Comments
 (0)