Alternative to quick builds - clean?


Philip

So, it used to be common to clean builds from the command line swift build --cleanby deleting .builddirectories . You can also --clean=distget rid of the package via .

I just upgraded to Swift 4 and these are apparently gone. Has it been rolled into subcommands or something? Can anyone point me to some documentation on this? I can't find them...

In fact, I can't find documentation on subcommands at all. I know swift runand swift packagehave introduced. Does anyone know where the full documentation for these and other commands is? I've found bits and pieces of descriptions all over the place, but not complete documentation (hope it exists somewhere)

Rick Ballard

swift build --cleanHas been replaced swift package cleanin swift 4 . We made the change here : https://bugs.swift.org/browse/SR-2082

Documentation for such a file should be at https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md , but it is missing in some respects. We just opened an issue to track the issue :

I also continue to submit:

Swift usage message should mention swiftpm command

SwiftPM command usage message should mention other top-level commands

Thanks for bringing it up!

Related


Alternative to quick builds - clean?

Philip So, it used to be common to clean builds from the command line swift build --cleanby deleting .builddirectories . You can also --clean=distget rid of the package via . I just upgraded to Swift 4 and these are apparently gone. Has it been rolled into sub

Alternative to quick builds - clean?

Philip So, it used to be common to clean builds from the command line swift build --cleanby deleting .builddirectories . You can also --clean=distget rid of the package via . I just upgraded to Swift 4 and these are apparently gone. Has it been rolled into sub

A clean, lightweight alternative to Python?

jkp : One (a long time ago) I wrote a web spider and I multithreaded the thread to allow concurrent requests to happen at the same time. That was my Python youth, before I learned about the GIL and its associated troubles for multithreaded code (IE, most of th

A clean, lightweight alternative to Python?

jkp : One (a long time ago) I wrote a web spider and I multithreaded the thread to allow concurrent requests to happen at the same time. That was my Python youth, before I learned about the GIL and its associated troubles for multithreaded code (IE, most of th

A clean, lightweight alternative to Python?

jkp : One (a long time ago) I wrote a web spider and I multithreaded the thread to allow concurrent requests to happen at the same time. That was my Python youth, before I learned about the GIL and its associated troubles for multithreaded code (IE, most of th

What is a quick alternative to pch?

Information system I would like to know what can be used in place of pch swift. Is there any other way other than pch to eliminate the import quickly so we don't need to do this for all classes. I don't want to carry it around/import all the time. What is the

A quick alternative to UIBezierPath

Egor Kolyshkin I'm making an application that can build graphics. I'm using UIBezierPath and everything was fine until I decided to use gestures to move and zoom the graphics. This is how I draw it: var isFirstPoint = true color.set() funcPath.

A quick alternative to UIBezierPath

Egor Kolyshkin I'm making an application that can build graphics. I'm using UIBezierPath and everything was fine until I decided to use gestures to move and zoom the graphics. This is how I draw it: var isFirstPoint = true color.set() funcPath.

Quick alternative to performSelectorOnMainThread

Amit Erandole I want to reload table data within a block using this method: import UIKit import AssetsLibrary class AlbumsTableViewController: UITableViewController { var albums:ALAssetsGroup[] = [] func loadAlbums(){ let library = IAAssetsL

What is a quick alternative to pch?

Information system I would like to know what can be used in place of pch swift. Is there any other way other than pch to eliminate the import quickly so we don't need to do this for all classes. I don't want to carry it around/import all the time. What is the

A quick alternative to UIBezierPath

Egor Kolyshkin I'm making an application that can build graphics. I'm using UIBezierPath and everything was fine until I decided to use gestures to move and zoom the graphics. This is how I draw it: var isFirstPoint = true color.set() funcPath.

A quick alternative to UIBezierPath

Egor Kolyshkin I'm making an application that can build graphics. I'm using UIBezierPath and everything was fine until I decided to use gestures to move and zoom the graphics. This is how I draw it: var isFirstPoint = true color.set() funcPath.

A quick alternative to UIBezierPath

Egor Kolyshkin I'm making an application that can build graphics. I'm using UIBezierPath and everything was fine until I decided to use gestures to move and zoom the graphics. This is how I draw it: var isFirstPoint = true color.set() funcPath.

What is a quick alternative to pch?

Information system I would like to know what can be used in place of pch swift. Is there any other way other than pch to eliminate the import quickly so we don't need to do this for all classes. I don't want to carry it around/import all the time. What is the

How to conditionally clean builds with Capistrano?

jwir3 I know I can keep_releasesuse to keep a specific number of versions, but I have a series of versions with symlinks. For example, I have: http://www.example.com/version/1.0.0This is a symlink to a certain version, eg /var/www/example.com/releases/20190501

How to conditionally clean builds with Capistrano?

jwir3 I know I can keep_releasesuse to keep a specific number of versions, but I have a series of versions with symlinks. For example, I have: http://www.example.com/version/1.0.0This is a symlink to a certain version, eg /var/www/example.com/releases/20190501

A quick alternative to #pragma clang diagnostics

Tommy C. question I recently encountered a warning in a 3rd party utility (WEPopover) for this code: _effectivePopoverContentSize = _contentViewController.contentSizeForViewInPopover; This will produce the following warning: warning: 'contentSizeForViewInPopo

Alternative to taking a quick screenshot of a window

gentlemen I have a utility I'm testing with others that takes a screenshot of another window and then uses OpenCV to find smaller images in that screenshot. There is no problem with doing this, however, I want to be more efficient and would like to know if the

Quick alternative to fontDescriptorWithSymbolicTraits for ios 8

severe I'm trying to create a Swift custom text editor (lite) and am stuck on iOS 8 fontDescriptorWithSymbolicTraits error, returning nil. Is there a Swift workaround? I 've created a small sample project here that you can download and run: select text Click t

A quick alternative to #pragma clang diagnostics

Tommy C. question I recently encountered a warning in a 3rd party utility (WEPopover) for this code: _effectivePopoverContentSize = _contentViewController.contentSizeForViewInPopover; This will produce the following warning: warning: 'contentSizeForViewInPopo

Alternative to taking a quick screenshot of a window

gentlemen I have a utility I'm testing with others that takes a screenshot of another window and then uses OpenCV to find smaller images in that screenshot. There is no problem with doing this, however, I want to be more efficient and would like to know if the

A quick alternative to #pragma clang diagnostics

Tommy C. question I recently encountered a warning in a 3rd party utility (WEPopover) for this code: _effectivePopoverContentSize = _contentViewController.contentSizeForViewInPopover; This will produce the following warning: warning: 'contentSizeForViewInPopo

Alternative to taking a quick screenshot of a window

gentlemen I have a utility I'm testing with others that takes a screenshot of another window and then uses OpenCV to find smaller images in that screenshot. There is no problem with doing this, however, I want to be more efficient and would like to know if the

Clean builds with a multi-branch workflow

Chris Jones With Multibranch Workflow, the checkout command looks like checkout scm I can't find a way to tell Jenkins to perform a clean checkout. "Clean" means it should remove all unversioned files from the workspace. Brad Albright I'm not sure if this ans

Swift framework builds only after clean

Quinn So I have a framework called MyAuth which builds fine and when I import the .framework file into other apps everything works fine. However, the project doesn't build every second time until I clean it. The error I get is Umbrella header 'MyAuth.h' not fo

Clean builds with a multi-branch workflow

Chris Jones With a multi-branch workflow, the checkout command looks like checkout scm I can't find a way to tell Jenkins to perform a clean checkout. "Clean" means it should remove all unversioned files from the workspace. Brad Albright I'm not sure if this

Clean builds with a multi-branch workflow

Chris Jones With Multibranch Workflow, the checkout command looks like checkout scm I can't find a way to tell Jenkins to perform a clean checkout. "Clean" means it should remove all unversioned files from the workspace. Brad Albright I'm not sure if this ans

Swift framework builds only after clean

Quinn So I have a framework called MyAuth which builds fine and when I import the .framework file into other apps everything works fine. However, the project doesn't build every second time until I clean it. The error I get is Umbrella header 'MyAuth.h' not fo

Clean builds with a multi-branch workflow

Chris Jones With Multibranch Workflow, the checkout command looks like checkout scm I can't find a way to tell Jenkins to perform a clean checkout. "Clean" means it should remove all unversioned files from the workspace. Brad Albright I'm not sure if this ans