Skip to content

Commit

Permalink
Move to Xcode project and Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang committed Jun 8, 2015
1 parent e477984 commit 393dfc9
Show file tree
Hide file tree
Showing 23 changed files with 1,596 additions and 933 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,2 +1,2 @@
build
.DS_Store
Carthage
Empty file added Cartfile
Empty file.
Empty file added Cartfile.resolved
Empty file.
58 changes: 0 additions & 58 deletions Makefile

This file was deleted.

22 changes: 1 addition & 21 deletions Readme.md
Expand Up @@ -10,27 +10,7 @@ Load [YAML](http://yaml.org) and [JSON](http://json.org) documents using [Swift]

## Install

Currently, you have to build it manually. Download and then run this command:

```sh
make CONFIG=release
```

`Yaml.framework` will be created in `build/macosx/release` which you can add to your project.

To add to an Xcode project:

1. On your application targets' "General" tab, in the "Embedded Binaries" section, drag and drop the framework from the `build/macosx/release` folder.

2. On the `Build Settings` tab, in the "Swift Compiler - Search Paths" section, add the framework to `Import Paths`.

Then you should be able to use `import Yaml` and `Yaml.load("")`.

To run tests:

```sh
make test
```
Use [Carthage](https://github.com/Carthage/Carthage) to build and install.



Expand Down

0 comments on commit 393dfc9

Please sign in to comment.