From 327db331df732e3c12106e5ee9c1f5a24bb6922e Mon Sep 17 00:00:00 2001 From: Kare Morstol Date: Sun, 13 Dec 2015 23:38:54 +0100 Subject: [PATCH] Readme: don't use heading 3 It looks almost identical to heading 2 on github.com --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79d5705..d0da759 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Everything is mutable, so you can set e.g. the text encoding or reroute standard Installation depends on where you want to use SwiftShell from: -### Shell script +#### Shell script - In the Terminal, go to where you want to download SwiftShell. - Run @@ -152,9 +152,9 @@ Then include this in the beginning of each script: import SwiftShell ``` -### OS X application +#### OS X application -#### Using [Carthage](https://github.com/Carthage/Carthage) +##### Using [Carthage](https://github.com/Carthage/Carthage) Add this to your Cartfile: @@ -166,7 +166,7 @@ Then run `carthage update` and add the resulting framework to the "Embedded Bina [carthage-installation]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application -### Commandline application +#### Commandline application Sadly it is not possible to include a framework in a commandline application. But you can import one. Set the build settings FRAMEWORK_SEARCH_PATHS and LD_RUNPATH_SEARCH_PATHS to include a folder containing the SwiftShell framework. Or if you want the command line application to be self-contained you can include all the source files from SwiftShell in the command line target itself, and add `"#import "NSTask+NSTask_Errors.h"` to the bridging header.