Comments (9)
Maybe someone has something running on an automated system that would prefer to have this run quickly and throw an error if not installed instead of installing slowly. It's not a huge feature
from mint.
Just wondering: what's specific use case for this?
from mint.
Maybe someone has something running on an automated system that would prefer to have this run quickly and throw an error if not installed instead of installing slowly. It's not a huge feature
I actually would prefer this over installing all the mint dependencies during an Xcode build script phase.
If it is not installed, the dev has simply not run the preparation shell script (something we call bootstrap.sh) beforehand.
from mint.
I personally love that it installs it if it's not present, and would very much like to see that stay as the default.
The problem that I have seen with bootstrap.sh
is that it's hard to keep them up-to-date unless you have a steady influx of new developers. As soon as you have a period without team growth, the file will usually go stale.
Mint beautifully works around this by not having a "setup" step, and I think it's one of the main selling points of Mint π±
That being said, I could see when a --no-install
option could come in handy π
from mint.
// Its getting a bit offtopic
@LinusU we keep the bootstrap.sh up to date by having it updatable with a -u
flag and having it publicly available under https://github.com/num42/n42-buildscripts/blob/master/bootstrap.sh
It's shared across web and iOS projects and can be specified by adding a file name bootstrap-specialised.sh in the project. Works great so far over 10 projects.
from mint.
// Its getting a bit offtopic
Hehe, yeah, let's take this somewhere else
from mint.
From the documentation:
run: Runs a package. This will install it first if it isn't already installed, though won't link it globally. It's useful for running a certain version.
Is this issue is still in Open status?
Also, what is the purpose of "install" and "bootstrap" commands, if "run" always re-installs on top of what is already installed? Right now, if I first do "bootstrap --link" and then "run", the latter is always "Finding latest version" of any packages, even if the version that is inside Mintfile is not the latest
from mint.
@yonaskolb hello! Could you please take a look at my comment above, whenever you have time? We're trying to use Mint on a production project, but encountering issues each time when packages versioned by Mint are getting an update... Maybe we're doing something wrong in regards to install / bootstrap / run though
from mint.
@ivasilev-pe I'm not sure what your issue is. Are you saying after you mint bootstrap
that when you mint run
it is still Finding latest version
instead of using the version from the Mintfile? Can you post your Mintfile?
from mint.
Related Issues (20)
- 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
- 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
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.