-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
1,325 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
# Xcode | ||
*.xcworkspace | ||
xcuserdata | ||
|
||
# Carthage | ||
Cartfile.resolved | ||
Carthage | ||
|
||
# SPM | ||
.build | ||
Packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,72 @@ | ||
language: objective-c | ||
osx_image: xcode7.2 | ||
env: | ||
global: | ||
- FRAMEWORK_NAME=Express | ||
before_install: | ||
- brew update | ||
- brew unlink carthage | ||
- brew install carthage | ||
- brew link carthage | ||
- brew tap crossroadlabs/tap | ||
- brew install libevhtp --without-oniguruma --with-shared | ||
before_script: | ||
# bootstrap the dependencies for the project | ||
# you can remove if you don't have dependencies | ||
- carthage bootstrap --platform osx | ||
before_deploy: | ||
- carthage build --no-skip-current | ||
- carthage archive $FRAMEWORK_NAME | ||
# - pod trunk push PathToRegex.podspec | ||
script: | ||
- xcodebuild build -project $FRAMEWORK_NAME.xcodeproj -scheme $FRAMEWORK_NAME | ||
#- xcodebuild test -project Regex.xcodeproj -scheme Regex-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6' | ||
#- xcodebuild test -project Regex.xcodeproj -scheme Regex-tvOS -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | ||
#- xcodebuild build -project Regex.xcodeproj -scheme Regex-watchOS -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' | ||
global: | ||
- MODULE_NAME=Express | ||
matrix: | ||
include: | ||
- script: | ||
- xcodebuild build -project $MODULE_NAME.xcodeproj -scheme $MODULE_NAME | ||
os: osx | ||
osx_image: xcode7.2 | ||
language: objective-c | ||
before_install: | ||
- brew update | ||
- brew unlink carthage | ||
- brew install carthage | ||
- brew link carthage | ||
- brew tap crossroadlabs/tap | ||
- brew install libevhtp --without-oniguruma --with-shared | ||
before_script: | ||
# bootstrap the dependencies for the project | ||
# you can remove if you don't have dependencies | ||
- carthage bootstrap --platform osx | ||
before_deploy: | ||
- carthage build --no-skip-current | ||
- carthage archive $MODULE_NAME | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: NxWvEe4nqcI99oKbtcFtmpz3AVkQiC+4kFu4OcCusAoKimMxx3WJ4+B6anDLG5dj/5rhsl4rQdKr/WIneHodyPrIFQPsRLUV2KFxgd+vbKrXLRRw+sZb//r0j89E7tCEUPdModIKWN4OCR7UWHvZ5syVQFfsP4MH1r+OJcBiewVVVPhgXzvndkxVlgXonyrJ++NAW/g+jO+CYNU9Y3KkyK7BaPMw6/oSC2Ly3A3zU1El++MFz+ew6YDGxiEiw7y20q7/qTT4pdl2HWem1P04UwPyJ2fUw/nD0C+fvX6tnFYX0s9p9VPSnrWXkhSHKT9IGlr8sveRPuQIaJcXcbkMHF8rnCmMpJJ63+YeXV88krW0q2ZyVpSodh/NaJ76PqbXij9WBSZ8AmNJsBlBsjhAgPCfZZkJ3vjrSSH2XP4k0ICLI8sxYmELXzR0MU1LaexE/4KKMDUcl4zuHWQBTJTMvtDyl+AJk+GdPBSGEpCQvHjXAwuW9OAz/sqZrLQy8eQJmji8DVhMJYlCK+krBQFZIekA6Wun5VTmATrtcwd6qwXyMOYeoblh3308zhzgyjBQwfJVpWxLLqB+dyQNLEOYhMcCcTwWNMvz7RYbEMcplkIu5azuUL400pPk2g2wp6U522vsAmH7bra3+VyA0qYG0ckLiwBaBKVCxD7EzkAy5CA= | ||
file: $MODULE_NAME.framework.zip | ||
skip_cleanup: true | ||
on: | ||
repo: crossroadlabs/Express | ||
tags: true | ||
- script: | ||
- ./build | ||
sudo: required | ||
dist: trusty | ||
language: generic | ||
before_install: | ||
# install original swift distribution | ||
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import - | ||
- cd .. | ||
- export SWIFT_VERSION=swift-DEVELOPMENT-SNAPSHOT-2016-02-08-a | ||
- wget https://swift.org/builds/development/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz | ||
- tar xzf $SWIFT_VERSION-ubuntu14.04.tar.gz | ||
- export PATH="${PWD}/${SWIFT_VERSION}-ubuntu14.04/usr/bin:${PATH}" | ||
# install latest package manager with `swift-test` | ||
- git clone https://github.com/apple/swift-package-manager | ||
- cd swift-package-manager | ||
- Utilities/bootstrap | ||
- export SWIFT_BUILD_PATH=`pwd` | ||
- export PATH=$SWIFT_BUILD_PATH/.build/debug:$PATH | ||
- cd .. | ||
# express dependencies | ||
# - sudo apt-get install libevhtp-dev libevent-dev libssl-dev //libevhtp-dev is not available on trusty | ||
- sudo apt-get update | ||
- sudo apt-get install libevent-dev libssl-dev | ||
- git clone https://github.com/ellzey/libevhtp.git | ||
- cd libevhtp | ||
- git checkout tags/1.2.10 | ||
- cmake -DEVHTP_DISABLE_REGEX:STRING=ON -DEVHTP_BUILD_SHARED:STRING=ON -DCMAKE_INSTALL_PREFIX:STRING=/usr | ||
- make | ||
- sudo make install | ||
- cd .. | ||
# get back home | ||
- cd $MODULE_NAME | ||
# get crossroad build script | ||
- wget https://raw.githubusercontent.com/crossroadlabs/utils/master/build | ||
- chmod +x build | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: NxWvEe4nqcI99oKbtcFtmpz3AVkQiC+4kFu4OcCusAoKimMxx3WJ4+B6anDLG5dj/5rhsl4rQdKr/WIneHodyPrIFQPsRLUV2KFxgd+vbKrXLRRw+sZb//r0j89E7tCEUPdModIKWN4OCR7UWHvZ5syVQFfsP4MH1r+OJcBiewVVVPhgXzvndkxVlgXonyrJ++NAW/g+jO+CYNU9Y3KkyK7BaPMw6/oSC2Ly3A3zU1El++MFz+ew6YDGxiEiw7y20q7/qTT4pdl2HWem1P04UwPyJ2fUw/nD0C+fvX6tnFYX0s9p9VPSnrWXkhSHKT9IGlr8sveRPuQIaJcXcbkMHF8rnCmMpJJ63+YeXV88krW0q2ZyVpSodh/NaJ76PqbXij9WBSZ8AmNJsBlBsjhAgPCfZZkJ3vjrSSH2XP4k0ICLI8sxYmELXzR0MU1LaexE/4KKMDUcl4zuHWQBTJTMvtDyl+AJk+GdPBSGEpCQvHjXAwuW9OAz/sqZrLQy8eQJmji8DVhMJYlCK+krBQFZIekA6Wun5VTmATrtcwd6qwXyMOYeoblh3308zhzgyjBQwfJVpWxLLqB+dyQNLEOYhMcCcTwWNMvz7RYbEMcplkIu5azuUL400pPk2g2wp6U522vsAmH7bra3+VyA0qYG0ckLiwBaBKVCxD7EzkAy5CA= | ||
file: $FRAMEWORK_NAME.framework.zip | ||
skip_cleanup: true | ||
on: | ||
repo: crossroadlabs/$FRAMEWORK_NAME | ||
tags: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
github "crossroadlabs/BrightFutures" "master" | ||
github "SwiftyJSON/SwiftyJSON" | ||
github "crossroadlabs/BrightFutures" ~> 0.4 | ||
github "crossroadlabs/TidyJSON" ~> 1.1 | ||
github "groue/GRMustache.swift" "Swift2.1" | ||
github "crossroadlabs/Regex" ~> 0.4 | ||
github "crossroadlabs/PathToRegex" ~> 0.1 | ||
github "crossroadlabs/CEVHTP" ~> 0.1.0 | ||
github "crossroadlabs/Regex" ~> 0.5 | ||
github "crossroadlabs/PathToRegex" ~> 0.2 | ||
github "crossroadlabs/CEVHTP" ~> 0.1 | ||
github "crossroadlabs/Stencil" ~> 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<html> | ||
<body> | ||
<p align="center"><a href="#swift-express"><img src ="/logo.png" height=256/></a></p> | ||
<h1 align="center">404: Page not found</h1> | ||
<h2>{{path}}</h2> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<li type="disk">Item: <span style="color:{{item.color}}">{{item.name}}</span></li> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body> | ||
<h1>Hello from Stencil: {{user}}</h1> | ||
</body> | ||
</html> |
Oops, something went wrong.