Skip to content

Commit b1fa201

Browse files
author
gyjrong
committed
V1.2.1 修复代码,以便支持 pod
1 parent 349133a commit b1fa201

118 files changed

Lines changed: 2874 additions & 309 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,48 @@
1+
language: swift
2+
osx_image: xcode8
3+
env:
4+
global:
5+
- LC_CTYPE=en_US.UTF-8
6+
- LANG=en_US.UTF-8
7+
- WORKSPACE=DiffuseMenu(Swift).xcodeproj
8+
- IOS_FRAMEWORK_SCHEME="Alamofire iOS"
9+
- IOS_SDK=iphonesimulator10.0
10+
- EXAMPLE_SCHEME="DiffuseMenu(Swift)"
11+
matrix:
12+
13+
- DESTINATION="OS=10.0,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="YES"
14+
- DESTINATION="OS=9.0,name=iPhone 6" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
15+
- DESTINATION="OS=8.1,name=iPhone 4S" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
116

17+
before_install:
18+
- gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
19+
script:
20+
- set -o pipefail
21+
- xcodebuild -version
22+
- xcodebuild -showsdks
23+
24+
# Build Framework in Debug and Run Tests if specified
25+
- if [ $RUN_TESTS == "YES" ]; then
26+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
27+
else
28+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
29+
fi
30+
31+
# Build Framework in Release and Run Tests if specified
32+
- if [ $RUN_TESTS == "YES" ]; then
33+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
34+
else
35+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
36+
fi
37+
38+
# Build Example in Debug if specified
39+
- if [ $BUILD_EXAMPLE == "YES" ]; then
40+
xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
41+
fi
42+
43+
# Run `pod lib lint` if specified
44+
- if [ $POD_LINT == "YES" ]; then
45+
pod lib lint;
46+
fi
47+
48+

DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)Tests/DiffuseMenu_Swift_Tests.swift

Lines changed: 0 additions & 39 deletions
This file was deleted.

DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)Tests/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)UITests/DiffuseMenu_Swift_UITests.swift

Lines changed: 0 additions & 39 deletions
This file was deleted.

DiffuseMenuDemo(Swift)/DiffuseMenu(Swift)UITests/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
platform :ios, '8.0'
3+
use_frameworks!
4+
5+
target 'SDiffuseMenuDemo' do
6+
7+
pod 'SDiffuseMenu','~> 1.2.1'
8+
9+
end
10+

Podfile.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PODS:
2+
- SDiffuseMenu (1.2.0)
3+
4+
DEPENDENCIES:
5+
- SDiffuseMenu (~> 1.2.0)
6+
7+
SPEC CHECKSUMS:
8+
SDiffuseMenu: 3e1afc26344fb821e1a01e2712eb6fdc9b357dbf
9+
10+
PODFILE CHECKSUM: 668df119f21511fdf768d20b1befa6a3c2099cfa
11+
12+
COCOAPODS: 1.1.1

Pods/Manifest.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)