Skip to content

Commit

Permalink
Use a more recent version of Carbon for our benchmarks
Browse files Browse the repository at this point in the history
See #1534
  • Loading branch information
nex3 committed Dec 15, 2021
1 parent f7669d5 commit 821e14a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tool/grind/benchmark.dart
Expand Up @@ -59,13 +59,10 @@ Future<void> benchmarkGenerate() async {
File("${sources.path}/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(
"https://github.com/carbon-design-system/ibm-cloud-cognitive",
"@carbon/ibm-cloud-cognitive@0.93.2");
await runAsync("npm", arguments: ["install"], workingDirectory: carbon);
"@carbon/ibm-cloud-cognitive@1.0.0-rc.0");
await runAsync("yarn", arguments: ["install"], workingDirectory: carbon);
File("${sources.path}/carbon.scss")
.writeAsStringSync("@import '../ibm-cloud-cognitive/packages/"
"cloud-cognitive/src/index-without-carbon-released-only'");
Expand Down

0 comments on commit 821e14a

Please sign in to comment.