From ecb4c429708d0f5d37bdf7acd7904dcf7d0611ef Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 22 Sep 2026 19:10:42 +0200 Subject: view: dart: dart2js.sh: Use `dart pub get` This command makes sure dependencies are pulled. This is required to access elements of the web page from Dart code. --- view/dart/dart2js.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'view') diff --git a/view/dart/dart2js.sh b/view/dart/dart2js.sh index 8d53fda..6cada76 100755 --- a/view/dart/dart2js.sh +++ b/view/dart/dart2js.sh @@ -8,4 +8,5 @@ CERES_DART="${DART}/ceres.dart" CERES_DART_JS="${CERES_DART}.js" set -x +dart pub get --directory "$DART" dart compile js -O2 --output "$CERES_DART_JS" "$CERES_DART" -- cgit v1.3.1