Comments (4)
Hi @zweigraf, thanks for posting the issue.
Yes, I see the problem. We should checkout the remote branch, which should fix that. If you had time to make a PR that would be great. Otherwise I’ll have a look at this next week.
In terms of the repo name and executable name mismatch, you would have to specify the executable name on install as well. This won’t actually execute the tool, but just helps mint find what to install. I guess we could parse the Package.swift file and if it has any executable products and use that. Not every package defines those products though, so this would just be a fallback solution
from mint.
For the first issue: I am not planning on opening a PR yet, but maybe manually cleaning the checkouts folder annoys me enough at one point to still do it 😄
I see about the second issue. I was under the impression that Mint could maybe just copy everything in the SPM build folder that is marked executable, but there is a lot more in there, which I guess doesn't make sense.
from mint.
Subset of #18. (The main, branch issue that is.)
from mint.
For the executable name issue, let’s move the conversation to a distinct issue: #17.
from mint.
Related Issues (20)
- Add Shell Completion Scripts HOT 1
- [BUG] Version comparison fails when it should actually succeed
- [CI] Github actions HOT 1
- To support local-packages HOT 1
- Build and cache packages on ci server to accelerate installs
- Swift Package plugin: MintKit compilation errors HOT 2
- Can't run [email protected] due to missing lib_InternalSwiftSyntaxParser.dylib HOT 2
- Allow custom scripts in the Mintfile
- Running (or rather, building) swiftlint 0.50.0-rc.1 fails HOT 4
- Mint 0.17.3 isn't available on brew HOT 1
- i can't install mint HOT 5
- Cannot install IBLinter with latest Mint HOT 1
- `mint run`, but referring to SPM executable name, instead of GitHub repo name? HOT 1
- Support Artifact Bundle
- Cannot find bundle with Bundle.module HOT 5
- mint does not fail when Mintfile does not exists at the specified path HOT 2
- Enable locking versions in `Mintfile.lock` or sth similar HOT 4
- mint which usage HOT 1
- _InternalSwiftSyntaxParser (no such module '_InternalSwiftSyntaxParser')
- Mint doesn't install dependencies HOT 1
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 mint.