Skip to content

Commit

Permalink
break out routing
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwright committed Oct 11, 2016
1 parent b6dd6f8 commit fff9b67
Show file tree
Hide file tree
Showing 203 changed files with 9 additions and 12,284 deletions.
161 changes: 0 additions & 161 deletions Documents/PROJECTS.md

This file was deleted.

18 changes: 0 additions & 18 deletions Documents/TUTORIALS.md

This file was deleted.

46 changes: 2 additions & 44 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,64 +1,22 @@
import PackageDescription

let package = Package(
name: "Vapor",
name: "Routing",
targets: [
// Framework
Target(name: "Vapor", dependencies: [
"Routing",
"HTTPRouting",
"TypeSafeRouting",
"Auth",
"Cache",
"Cookies",
"Sessions",
"Settings"
]),

// Routing
Target(name: "Routing"),
Target(name: "HTTPRouting", dependencies: ["Routing"]),

// Type Safe
Target(name: "TypeSafeRouting", dependencies: ["Routing", "HTTPRouting"]),
// Target(name: "TypeSafeGenerator"),

// Misc
Target(name: "Auth", dependencies: ["Cookies", "Cache"]),
Target(name: "Cache"),
Target(name: "Cookies"),
Target(name: "Sessions", dependencies: ["Cookies"]),
Target(name: "Settings"),

// Development and Testing
// Target(name: "Development", dependencies: ["Vapor"]),
// Target(name: "Performance", dependencies: ["Vapor"]),
],
dependencies: [
// SHA2 + HMAC hashing. Used by the core to create session identifiers.
.Package(url: "https://github.com/vapor/crypto.git", majorVersion: 1),

// ORM for interacting with databases
.Package(url: "https://github.com/vapor/fluent.git", majorVersion: 1),

// Core vapor transport layer
.Package(url: "https://github.com/vapor/engine.git", majorVersion: 1),

// Console protocol and implementation for powering command line interface.
.Package(url: "https://github.com/vapor/console.git", majorVersion: 1),

// JSON enum wrapper around Foundation JSON
.Package(url: "https://github.com/vapor/json.git", majorVersion: 1),

// A security framework for Swift.
.Package(url: "https://github.com/stormpath/Turnstile.git", majorVersion: 1),

// An extensible templating language built for Vapor. 🍃
.Package(url: "https://github.com/vapor/leaf.git", majorVersion: 1),
.Package(url: "https://github.com/vapor/node.git", majorVersion: 1)
],
exclude: [
"Sources/Development",
"Sources/Performance",
"Sources/TypeSafeGenerator"
]
)
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

Loading

0 comments on commit fff9b67

Please sign in to comment.