mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Use a more recent version of Carbon for our benchmarks
See sass/dart-sass#1534
This commit is contained in:
parent
169178af6c
commit
4fa365adca
@ -59,13 +59,10 @@ Future<void> benchmarkGenerate() async {
|
|||||||
File("${sources.path}/duomo.scss")
|
File("${sources.path}/duomo.scss")
|
||||||
.writeAsStringSync("@import '../duomo/scripts/duomo.scss'");
|
.writeAsStringSync("@import '../duomo/scripts/duomo.scss'");
|
||||||
|
|
||||||
// Note: This version only supports Node Sass 5.x, which only supports up to
|
|
||||||
// Node 14.x. Once there's a version that support Node Sass 6.x, we should use
|
|
||||||
// that instead.
|
|
||||||
var carbon = cloneOrCheckout(
|
var carbon = cloneOrCheckout(
|
||||||
"https://github.com/carbon-design-system/ibm-cloud-cognitive",
|
"https://github.com/carbon-design-system/ibm-cloud-cognitive",
|
||||||
"@carbon/ibm-cloud-cognitive@0.93.2");
|
"@carbon/ibm-cloud-cognitive@1.0.0-rc.0");
|
||||||
await runAsync("npm", arguments: ["install"], workingDirectory: carbon);
|
await runAsync("yarn", arguments: ["install"], workingDirectory: carbon);
|
||||||
File("${sources.path}/carbon.scss")
|
File("${sources.path}/carbon.scss")
|
||||||
.writeAsStringSync("@import '../ibm-cloud-cognitive/packages/"
|
.writeAsStringSync("@import '../ibm-cloud-cognitive/packages/"
|
||||||
"cloud-cognitive/src/index-without-carbon-released-only'");
|
"cloud-cognitive/src/index-without-carbon-released-only'");
|
||||||
|
Loading…
Reference in New Issue
Block a user