Skip to content

joutvhu/dart-scripts

Folders and files

NameName
Last commit message
Last commit date
Nov 1, 2023
Jul 28, 2022
Nov 25, 2024
Nov 25, 2024
Aug 10, 2024
Nov 25, 2024
Jul 28, 2023
Mar 4, 2022
Jul 28, 2022
Mar 3, 2025
Nov 25, 2024
Nov 25, 2024
Mar 4, 2022

Repository files navigation

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)