Comments (8)
Adding a flag will increase the cost of use, so we can just try the two URLs separately in our code: if we fetch the {package}-cask
URL failed, try fetching the {package}
URL again.
from cask.rs.
If there is no rush I can implement this feature.
from cask.rs.
I can understand that this may make people confused or have invasiveness.
Imagine what happens in the same directory in the same directory?
In order to fetch Cask.toml
file, We have to clone the entire project, for some large projects, this seriously affects the speed
Or if you have any better suggestions, welcome
from cask.rs.
In order to fetch
Cask.toml
file, We have to clone the entire project, for some large projects, this seriously affects the speed
This could indeed lead to some problems.
I didn't think of a good solution, what do you think about us supporting both ways? Either in the project repo or in a separate repo, with preference given to trying to fetch it from the separate repo.
from cask.rs.
with preference given to trying to fetch it from the separate repo.
How about adding a new flag?
By default, it is still getting from a separate repo
But we can add a FLAG to get it from the current repo.
cask install github.com/iawia002/lux --current
from cask.rs.
Adding a flag will increase the cost of use, so we can just try the two URLs separately in our code: if we fetch the
{package}-cask
URL failed, try fetching the{package}
URL again.
LGTM
from cask.rs.
If there is no rush I can implement this feature.
Nice!
from cask.rs.
if we fetch the {package}-cask URL failed
Here is the method to how detect the repo exists or not #8
from cask.rs.
Related Issues (20)
- add -c flag for checking upgrade only for `cask upgrade <package>`
- feat: add --json flag for `cask list`
- v1.0 roadmap
- Simplify the download url
- feat: implement dependencies in `Cask.toml`
- feat: extract file from sub-folder in tarball
- BREAKING CHANGE: remove {package}-cask.git fallback
- sort output for `cask ls` with install time
- Support cross compile
- Support build for powerpc
- Remove Git command deps
- Reading Cask.toml from stdin
- Github Action has been disabled by Github
- Running hook in diff platform
- support template renderer in Hook script
- feat: support build step HOT 1
- 安装失败 HOT 1
- install.sh doesn't work for x86_64 HOT 1
- Does it support using proxy to access the internet ? HOT 1
- Tries to search for cask file in the downloads folder HOT 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 cask.rs.