Comments (4)
Can you try installing with the previous version of the formula, which targets Xcode 10.2?
brew install https://raw.githubusercontent.com/NSHipster/homebrew-formulae/0d38cd5160a43d865e4a6f3bdee58f45e35ab3a4/Formula/swift-format.rb
from homebrew-formulae.
hm, doesn't work as well
$ brew install https://raw.githubusercontent.com/NSHipster/homebrew-formulae/0d38cd5160a43d865e4a6f3bdee58f45e35ab3a4/Formula/swift-format.rb
==> Consider using `brew extract swift-format ...`!
This will extract your desired swift-format version to a stable tap instead of
installing from an unstable URL!
######################################################################## 100.0%
==> Cloning https://github.com/NSHipster/swift-format.git
Cloning into '/Users/dmytro/Library/Caches/Homebrew/swift-format--git'...
warning: Could not find remote branch format to clone.
fatal: Remote branch format not found in upstream origin
Error: An exception occurred within a child process:
DownloadError: Failed to download resource "swift-format"
Failure while executing; `git clone --depth 1 --branch format https://github.com/NSHipster/swift-format.git /Users/dmytro/Library/Caches/Homebrew/swift-format--git` exited with 128. Here's the output:
Cloning into '/Users/dmytro/Library/Caches/Homebrew/swift-format--git'...
warning: Could not find remote branch format to clone.
fatal: Remote branch format not found in upstream origin
from homebrew-formulae.
Thanks for trying that. I'd forgotten that @NSHipster/swiftformat changed its upstream after the project moved from Google's fork. You might be able to adapt that Xcode 10.2 version by pointing the git source to master instead of the format branch.
Unfortunately, I don't have much time to investigate this right now, and probably won't before Xcode 11 goes GM. Sorry I can't offer more assistance.
from homebrew-formulae.
Thanks for your feedback, I appreciate it.
from homebrew-formulae.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-formulae.