Comments (11)
bootstrap
is a valid name for that I guess
from mint.
Ok cool. I'm happy to release this now, and we can add mint bootstrap
later.
By the way I added support for specifying just the repo name now in the Mintfile lookup
mint run yonaskolb/xcodegen // from mintfile
mint run xcodegen // also from mintfile
from mint.
What could this look like?
- Search in the current path and all parents for a file named .mint-versions
- if found, exactly match the package (the first parameter after mint run) if no version is specified
When run:
- look in mint file if a version is specified and take it, otherwise take empty version
File Format (json, as foundation can handle it):
[
{package: "yonaskolb/Mint", version: "0.0.1"},
{package: "https://github.com/krzysztofzablocki/Sourcery", version: "0.10.1"}
]
from mint.
@yonaskolb should I have a look at implementing this or do you?
from mint.
Hi @Lutzifer
I imagined it as a Mint
file that is just a plain text file with each package listed on a newline in a format that's the same as the package argument. Similar to a Carthage Cartfile
yonaskolb/[email protected]
realm/[email protected]
I didn't think it would search recursively, but just look in the current directory.
I was also considering having a mint install
that would install the current package if there was a Package.swift
. This would conflict, so this could maybe be mint bootstrap
?
If you'd like to create a PR that would be great!
from mint.
Also if someone were to run mint run package
without a version, we could look for this file in that directory and use the version specified there
from mint.
Also if someone were to run mint run package without a version, we could look for this file in that directory and use the version specified there
yes, as defined above
from mint.
on it
from mint.
@yonaskolb we can close this 😃 (unless there are still features missing)
from mint.
We'd still need the mint install
feature to install all packages in the mint file. Though as mentioned before, because I'd like to in the future also add installing the current directory's package if you're in one, we might use mint install
for that instead. The mint file command could then be mint bootstrap
instead. What do you think of the names?
from mint.
Mintfile is now released in 0.9.0
, and boostrap issue moved to #76
from mint.
Related Issues (20)
- 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
- add `cleanup` command
- Having an issue while installing mint on Mac M2 Pro HOT 5
- Add Swift 5.9 support HOT 2
- Can `mint run` be used without an internet connection? HOT 2
- Force mint run to use locally installed version HOT 4
- Brew version vs latest commit on repo are different. What's the plan?
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.