vsts-flutter-tasks icon indicating copy to clipboard operation
vsts-flutter-tasks copied to clipboard

Flutter command does nothing

Open dickverweij opened this issue 3 years ago • 5 comments

when i use arguments: build ipa --export-options-plist=ios/exportOptions.plist it does nothing.

dickverweij avatar Mar 11 '21 09:03 dickverweij

complete log:

Starting: build ipa

Task : Flutter Command Description : Launch a custom Flutter command with custom arguments. Version : 0.2.32 Author : Aloïs Deniel Help : Don't forget to insert a 'Flutter Install' task before. More Information

dickverweij avatar Mar 11 '21 09:03 dickverweij

  • task: FlutterCommand@0 inputs: arguments: 'build ipa --export-options-plist=ios/exportOptions.plist --verbose' displayName: 'build ipa'

dickverweij avatar Mar 11 '21 09:03 dickverweij

looks like that this is not performed on the command "Flutter Command":

// 1. Check flutter environment
var flutterPath = task.getVariable(FLUTTER_TOOL_PATH_ENV_VAR) || process.env[FLUTTER_TOOL_PATH_ENV_VAR] || task.getInput('flutterDirectory', false);
flutterPath = path.join(flutterPath, "flutter")

dickverweij avatar Mar 11 '21 09:03 dickverweij

Hey, you can check my fork for now.

hey24sheep avatar Mar 11 '21 22:03 hey24sheep

Same issue here. I use editor instead of yaml and have configured the task to eg. run lint stuff:

Screenshot 2021-06-16 at 06 25 22

In my current setup it should take few seconds and return an error, but the execution takes less than a second and passes.

pwa-tapptic avatar Jun 16 '21 04:06 pwa-tapptic