Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Dart.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public function getFiles(): array

public function getInstallCommand(): string
{
return 'flutter pub get';
return 'dart pub get';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm able to verify dart pub get but not dart build. I found dart run and webdev build --output web:build instead in the docs. @Meldiron @stnguyen90 any idea?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually dont use these methods for install and build commands I think. Right?

Copy link
Contributor

@Meldiron Meldiron Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

public function getBuildCommand(): string
{
return 'flutter build';
return 'dart build';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

public function getEntryPoint(): string
Expand Down