- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.6k
 
Swift Package Manager #560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            14 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      42e0ae8
              
                Moved things around a bit to suit Swift packages.
              
              
                wadetregaskis 9b1bef9
              
                Ignore '.build' folder created by the `swift` command line tool.
              
              
                wadetregaskis 20bda8f
              
                Added the CSQLite submodule.
              
              
                wadetregaskis 0d408b6
              
                Added an initial Package.swift file.
              
              
                wadetregaskis 4e6b1e0
              
                Import CSQLite by default, not just when using CocoaPods.
              
              
                wadetregaskis 0db23c9
              
                Broke the ObjC pieces out into a separate module, so that they can ac…
              
              
                wadetregaskis c7ab262
              
                Corrected dependencies - SQLite also uses CSQLite directly, not just …
              
              
                wadetregaskis c6b1677
              
                Renamed the package to just "SQLite", rather than "SQLite.swift", to …
              
              
                wadetregaskis 441d592
              
                Fixed up file references, given all the moves made to support Swift p…
              
              
                wadetregaskis 28dfcc7
              
                • Fixed two remaining file references that I missed in the first pass.
              
              
                wadetregaskis c354a7f
              
                Update docs, add tests, fix podspec
              
              
                jberkel a58eac7
              
                Add build step to docs
              
              
                jberkel ddace3e
              
                Ignore package dir
              
              
                jberkel 3656d9e
              
                Formatting
              
              
                jberkel File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or 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 | 
|---|---|---|
| 
          
            
          
           | 
    @@ -21,3 +21,7 @@ DerivedData | |
| 
     | 
||
| # Carthage | ||
| Carthage | ||
| 
     | 
||
| # Swift Package Manager | ||
| .build | ||
| Packages/ | ||
  
    
      This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,16 @@ | ||
| import PackageDescription | ||
| 
     | 
||
| let package = Package( | ||
| name: "SQLite", | ||
| targets: [ | ||
| Target( | ||
| name: "SQLite", | ||
| dependencies: [ | ||
| .Target(name: "SQLiteObjc") | ||
| ]), | ||
| Target(name: "SQLiteObjc") | ||
| ], | ||
| dependencies: [ | ||
| .Package(url: "https://github.com/jberkel/CSQLite.git", majorVersion: 0) | ||
| ] | ||
| ) | ||
  
    
      This file contains hidden or 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 hidden or 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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephencelis this should probably be moved to your namespace – I couldn't find a way to avoid a separate repository. there's something like dependency pinning now but it seems to be a newer feature, it's not on my system.