Code Monkey home page Code Monkey logo

flutterw's People

Contributors

hyiso avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

vvvictor07

flutterw's Issues

flutterw_build_aar: Unsupported operation: Cannot add to a fixed-length list

I got an exception because it is impossible to add element to fixed length list:

arguments.addAll(['--build-number', pubspec.version!.canonicalizedVersion]);

Quick fix from my side was to rename argument arguments -> originalArguments

List<String> arguments = []..addAll(originalArguments);

But i would like to believe there should be more elegant solution

Output version is not correct

Is there an existing issue for this?

  • I have searched the existing issues.

Version

0.5.0

Description

flutterw --version print Flutterw 0.5.0-pre.2

Steps to reproduce

  1. Global activate flutterw: dart pub global activate flutterw
  2. Run flutterw --version

Expected behavior

Flutterw 0.5.0

Screenshots

Flutterw 0.5.0-pre.2

Additional context and comments

No response

Docs

  • Usage doc
  • Contribution guide doc

flutterw is deactivated after running test

Is there an existing issue for this?

  • I have searched the existing issues.

Version

0.5.2

Description

After running dart test in flutterw, the global activated flutterw is deactivated.

Steps to reproduce

  1. Install flutterw by dart pub global activate flutterw
  2. git clone this repo
  3. cd path/to/flutterw/packages/flutterw
  4. dart test

Expected behavior

No change for global activated flutterw

Screenshots

No response

Additional context and comments

No response

Windows issues of running flutterw

I have faced impediment that in Windows I need to provide full path to flutter executable because PATH value is ignored due to the documentation

Using an absolute path for executable is recommended since resolving the executable path is platform-specific. On Windows, both any PATH set in the environment map parameter and the path set in working Directory parameter are ignored for the purposes of resolving the executable path.

And the main problem location of flutter is totally dynamic and machine dependant.

final process = await Process.start(

As for me quist fix was to run command in Shell:

    final process = await Process.start(
      cmds.removeAt(0),
      cmds,
      runInShell: true,
      mode: isVerbose ? ProcessStartMode.inheritStdio : ProcessStartMode.normal,
    );

In dart:io there is property isWindows, we can explicitly apply runInShell flag for Windows OS.
P.S.: I seems command should be runned with mode ProcessStartMode.inheritStdio in such case

request: Support verbose logging for script

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

No response

Description

Support verbose logging for script

Reasoning

Currently nothing output when executing scripts

Additional context and comments

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.