Skip to content

Commit f30e1ec

Browse files
committed
Add readme and travis-CI script
1 parent e234be8 commit f30e1ec

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

.travis.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
language: objective-c
3+
osx_image: xcode9.4
4+
5+
env:
6+
global:
7+
- LC_CTYPE=en_US.UTF-8
8+
- LANG=en_US.UTF-8
9+
10+
notifications:
11+
email: false
12+
13+
before_install:
14+
- env
15+
- locale
16+
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
17+
- xcpretty --version
18+
- xcodebuild -version
19+
- xcodebuild -showsdks
20+
21+
script:
22+
- set -o pipefail
23+
24+
- echo Build the framework
25+
- xcodebuild clean build -scheme 'libflif' -sdk macosx -configuration Debug | xcpretty -c
26+
- xcodebuild clean build -scheme 'libflif' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
27+
- xcodebuild clean build -scheme 'libflif' -sdk appletvsimulator -configuration Debug | xcpretty -c
28+
- xcodebuild clean build -scheme 'libflif' -sdk watchsimulator -configuration Debug | xcpretty -c
29+
30+
- echo Build the example app
31+
- xcodebuild build -scheme 'libflifExample' -sdk macosx -configuration Debug | xcpretty -c

README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# libflif + Xcode
2+
3+
[![CI Status](http://img.shields.io/travis/SDWebImage/libflif-Xcode.svg?style=flat)](https://travis-ci.org/SDWebImage/libflif-Xcode)
4+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/SDWebImage/libflif-Xcode)
5+
6+
A wrapper for [libflif](https://github.com/FLIF-hub/FLIF) + Xcode project.
7+
8+
libflif is a codec library for [Free Lossless Image Format](https://flif.info/).
9+
10+
This enables Carthage support.
11+
12+
## Requirements
13+
14+
+ iOS 8
15+
+ macOS 10.7
16+
+ tvOS 9.0
17+
+ watchOS 2.0
18+
19+
## Installation
20+
21+
libflif is (via this repo) available through [Carthage](https://github.com/Carthage/Carthage).
22+
23+
```
24+
github "SDWebImage/libflif-Xcode"
25+
```
26+
27+
## Usage
28+
29+
Use libflif as you would normally, this is just a repo that adds an Xcode proj.
30+
31+
## License
32+
33+
libflif is available under the LGPL license (this library use the enc + dec part). See [the LICENSE file](https://github.com/FLIF-hub/FLIF/blob/master/LICENSE_LGPL) for more info.
34+
35+

0 commit comments

Comments
 (0)