swift: add page (#2112)

This commit is contained in:
rootbeersoup
2018-05-15 11:26:34 +01:00
committed by Starbeamrainbowlabs
parent 36775b8558
commit 3fc2ce94ca
+27
View File
@@ -0,0 +1,27 @@
# swift
> Create, run and build Swift projects.
- Invoke the interactive interpreter (REPL):
`swift`
- Execute a program:
`swift {{file.swift}}`
- Start a new project with the package manager:
`swift package init`
- Generate an Xcode project file:
`swift package generate-xcodeproj`
- Update dependencies:
`swift package update`
- Compile project for release:
`swift build -c release`