omofolarin / dart-scripts

IntelliJ plugin to run scripts on pubspec.yaml for Dart projects

Home Page:https://plugins.jetbrains.com/plugin/18726-dart-scripts-runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dart Scripts Runner

Downloads Version License

IntelliJ plugin to run scripts on pubspec.yaml for Dart projects

Installation

Press Ctrl+Alt+S to open the IDE settings and select Plugins.

Search Dart Scripts Runner in the Marketplace and click Install.

Install plugin

Using

Write your custom script in the scripts property of the pubspec.yaml file.

Run script on pubspec.yaml

Dart Scripts Runner will add a run button on each script line. Click that button to run the script.

Edit run configuration

Example

scripts:
  # Without options:
  #   directory: <project directory>
  #   terminal:  false
  pub_get: flutter pub get

  # With options
  pod_install:
    script: pod install   # Script text                        (required)
    directory: ./ios      # Working directory                  (default: <project directory>)
    terminal: true        # Should execute script in terminal? (default: false)

About

IntelliJ plugin to run scripts on pubspec.yaml for Dart projects

https://plugins.jetbrains.com/plugin/18726-dart-scripts-runner

License:Apache License 2.0


Languages

Language:Java 100.0%