mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-20 17:55:41 +03:00
buildTrunkPackage: disable version checks by default (#616)
This commit is contained in:
parent
54fe6fed44
commit
5b0b062ff0
@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
* **Breaking** `cargoAudit` no longer accepts `cargoExtraArgs` (since it does
|
||||
not support the regular set of `cargo` flags like most cargo-commands do, it
|
||||
does not make much sense to propagate those flags through)
|
||||
* `buildTrunkPackage` now sets `env.TRUNK_SKIP_VERSION_CHECK = "true";` if not
|
||||
specified
|
||||
|
||||
### Deprecations
|
||||
* In the future, `crateNameFromCargoToml` will stop considering
|
||||
|
@ -4,4 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<title>Trunk App</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello world!</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,4 +5,7 @@
|
||||
<title>Trunk App</title>
|
||||
<link data-trunk rel="scss" href="./main.scss" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello world!</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,4 +5,7 @@
|
||||
<title>Trunk App</title>
|
||||
<link data-trunk rel="scss" href="./main.scss" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello world!</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,4 +5,7 @@
|
||||
<title>Trunk App</title>
|
||||
<link data-trunk rel="scss" href="./main.scss" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello world!</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -63,6 +63,8 @@ mkCargoDerivation (args // {
|
||||
doCheck = args.doCheck or false;
|
||||
}));
|
||||
|
||||
env.TRUNK_SKIP_VERSION_CHECK = args.env.TRUNK_SKIP_VERSION_CHECK or "true";
|
||||
|
||||
# Force trunk to not download dependencies, but set the version with
|
||||
# whatever tools actually make it into the builder's PATH
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user