Skip to content

Instantly share code, notes, and snippets.

View fassko's full-sized avatar
👋
Hi! I'm Kristaps - Web3 and iOS Swift developer. Let's chat!

Kristaps Grinbergs fassko

👋
Hi! I'm Kristaps - Web3 and iOS Swift developer. Let's chat!
View GitHub Profile
@fassko
fassko / spm
Created September 28, 2018 09:29 — forked from JohnSundell/spm
A script that makes it easier to use the Swift Package Manager by making common commands less verbose 👍
#!/usr/bin/env bash
# Put this file in /usr/local/bin and then run chmod +x on it to make it executable
command=$1
shift
case $command in
"init" )
swift package init "$@"

In terminal:

    nano ~/.bash_profile

Place the following in the opened file:

    # Open Xcode workspace from terminal.
    alias workspace='open -a "/Applications/Xcode.app" *.xcworkspace'
    alias project='open -a "/Applications/Xcode.app" *.xcodeproj'