Skip to content

Commit

Permalink
Refine file structure for Unit tests and Carthage Support
Browse files Browse the repository at this point in the history
  • Loading branch information
sodastsai committed Oct 14, 2015
1 parent d185685 commit 54ef980
Show file tree
Hide file tree
Showing 30 changed files with 312 additions and 593 deletions.
340 changes: 211 additions & 129 deletions M13OrderedDictionary.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0450"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -14,45 +14,59 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CAC53480167D3EA900E66DFC"
BuildableName = "M13OrderedDictionary.app"
BlueprintIdentifier = "FEA1B9291BCCE51600ABB2EC"
BuildableName = "M13OrderedDictionary"
BlueprintName = "M13OrderedDictionary"
ReferencedContainer = "container:M13OrderedDictionary.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FEA1B9431BCCE56100ABB2EC"
BuildableName = "M13OrderedDictionaryTests.xctest"
BlueprintName = "M13OrderedDictionaryTests"
ReferencedContainer = "container:M13OrderedDictionary.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CAC53480167D3EA900E66DFC"
BuildableName = "M13OrderedDictionary.app"
BlueprintIdentifier = "FEA1B9291BCCE51600ABB2EC"
BuildableName = "M13OrderedDictionary"
BlueprintName = "M13OrderedDictionary"
ReferencedContainer = "container:M13OrderedDictionary.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CAC53480167D3EA900E66DFC"
BuildableName = "M13OrderedDictionary.app"
BlueprintIdentifier = "FEA1B9291BCCE51600ABB2EC"
BuildableName = "M13OrderedDictionary"
BlueprintName = "M13OrderedDictionary"
ReferencedContainer = "container:M13OrderedDictionary.xcodeproj">
</BuildableReference>
Expand All @@ -61,16 +75,17 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CAC53480167D3EA900E66DFC"
BuildableName = "M13OrderedDictionary.app"
BlueprintIdentifier = "FEA1B9291BCCE51600ABB2EC"
BuildableName = "M13OrderedDictionary"
BlueprintName = "M13OrderedDictionary"
ReferencedContainer = "container:M13OrderedDictionary.xcodeproj">
</BuildableReference>
Expand Down

This file was deleted.

This file was deleted.

14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
XCTOOL=xctool
SCHEME=M13OrderedDictionary
XCTOOL_FLAGS=-scheme $(SCHEME)

test: check-xctool clean
$(XCTOOL) $(XCTOOL_FLAGS) build-tests 1>/dev/null 2>&1
$(XCTOOL) $(XCTOOL_FLAGS) run-tests

clean: check-xctool
$(XCTOOL) $(XCTOOL_FLAGS) clean 1>/dev/null 2>&1

check-xctool:
which $(XCTOOL) 1>/dev/null 2>&1 || \
(echo "\n\n>>> Please install xctool first. (https://github.com/facebook/xctool)\n" && exit 1)
10 changes: 0 additions & 10 deletions NSOrderedDictionary.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions NSOrderedDictionary/AppDelegate.h

This file was deleted.

51 changes: 0 additions & 51 deletions NSOrderedDictionary/AppDelegate.m

This file was deleted.

Binary file removed NSOrderedDictionary/[email protected]
Binary file not shown.
Binary file removed NSOrderedDictionary/Default.png
Binary file not shown.
Binary file removed NSOrderedDictionary/[email protected]
Binary file not shown.
45 changes: 0 additions & 45 deletions NSOrderedDictionary/M13OrderedDictionary-Info.plist

This file was deleted.

Loading

0 comments on commit 54ef980

Please sign in to comment.