Skip to content

Commit

Permalink
V1.2.1 修复代码,以便支持 pod
Browse files Browse the repository at this point in the history
  • Loading branch information
gyjrong committed Jan 22, 2017
1 parent 349133a commit b1fa201
Show file tree
Hide file tree
Showing 118 changed files with 2,874 additions and 309 deletions.
47 changes: 47 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,48 @@
language: swift
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=DiffuseMenu(Swift).xcodeproj
- IOS_FRAMEWORK_SCHEME="Alamofire iOS"
- IOS_SDK=iphonesimulator10.0
- EXAMPLE_SCHEME="DiffuseMenu(Swift)"
matrix:

- DESTINATION="OS=10.0,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="YES"
- DESTINATION="OS=9.0,name=iPhone 6" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=8.1,name=iPhone 4S" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"

before_install:
- gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks

# Build Framework in Debug and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
else
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
fi

# Build Framework in Release and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
else
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
fi

# Build Example in Debug if specified
- if [ $BUILD_EXAMPLE == "YES" ]; then
xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
fi

# Run `pod lib lint` if specified
- if [ $POD_LINT == "YES" ]; then
pod lib lint;
fi


Binary file not shown.

This file was deleted.

22 changes: 0 additions & 22 deletions DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)Tests/Info.plist

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)UITests/Info.plist

This file was deleted.

10 changes: 10 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

platform :ios, '8.0'
use_frameworks!

target 'SDiffuseMenuDemo' do

pod 'SDiffuseMenu','~> 1.2.1'

end

12 changes: 12 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PODS:
- SDiffuseMenu (1.2.0)

DEPENDENCIES:
- SDiffuseMenu (~> 1.2.0)

SPEC CHECKSUMS:
SDiffuseMenu: 3e1afc26344fb821e1a01e2712eb6fdc9b357dbf

PODFILE CHECKSUM: 668df119f21511fdf768d20b1befa6a3c2099cfa

COCOAPODS: 1.1.1
12 changes: 12 additions & 0 deletions Pods/Manifest.lock

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

Loading

0 comments on commit b1fa201

Please sign in to comment.