PackageTrack
Sign in Get early access

rps

rps (Run Pubspec Script) allows you to define and run scripts from pubspec.yaml.

0.10.1 5.9K downloads/mo #3607 most downloaded on pub.dev gonuit/rps

What this package is like to depend on

Last release 4 months ago

13 Apr 2026

Release timing varies

gaps range from 3 weeks to 1.5 years

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

20 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

20 releases · Jan 2022 to Apr 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 0.10.1 13 Apr 2026
    Release notes
    • Added dartdoc comments and package example.
    • Enabled stricter linting rules.
    Open source →
  2. 0.10.0 11 Apr 2026
    Release notes
    • Calling rps will now display a list of all commands and allow you to select them.
    • Switched from cmd to powershell on Windows platform.
      • It allows multiline scripts to be executed correctly, resolves #16.
    • rps ls no longer lists $before / $after hook entries.
    • Child script exit codes are now reported correctly on macOS and Linux, and propagated back to the parent shell (rps fail where fail: exit 7 now exits 7).
    Open source →
  3. 0.9.1 02 Oct 2024
    Release notes

    Changes:

    • Used static linking of the CRT library on Windows instead of dynamic - solves Windows problems when the CRT library was not present.

    Full Changelog: v0.9.0...v0.9.1

    Open source →
    Release notes
    • Used static linking of the CRT library on Windows instead of dynamic - solves Windows problems when the CRT library was not present.
    Open source →
  4. 0.9.0 01 Oct 2024
    Release notes

    Changes:

    • Added support for an external script file (rps.yaml), thanks to @masreplay in #24.

    New Contributors

    Full Changelog: v0.8.2...v0.9.0

    Open source →
    Release notes
    • Added support for an external script file (rps.yaml), thanks to @masreplay in #24.
    Open source →
  5. 0.8.2 19 Jul 2024
    Release notes

    Changes:

    • Fix arguments serialization. escape backslashes, single and double quotes for shell safety and enclose in quotes if necessary: contains spaces or quotes.
    • Formatted source code

    Full Changelog: v0.8.1...v0.8.2

    Open source →
    Release notes
    • Fix arguments serialization. escape backslashes, single and double quotes for shell safety and enclose in quotes if necessary: contains spaces or quotes.
    Open source →
  6. 0.8.1 24 Mar 2024
    Release notes

    Changes:

    • Added support for Linux Arm64 (aarch64) architecture.
    • Improved Abi handling

    Full Changelog: v0.8.0...v8.1.0

    Open source →
    Release notes
    • Added support for Linux Arm64 (aarch64) architecture.
    • Improved Abi handling
    Open source →
  7. 0.8.0 23 Mar 2024
    Release notes

    BREAKING CHANGES

    • Support for positional arguments: ${0}, ${1} ...
    • To use references use rps instead of $ prefix.

    Additional changes

    • Added list command: rps ls
      • Lists all available commands
    • Added upgrade command: rps -u / rps --upgrade
    • Improved help command rps -h / rps --help
    • Updated readme documentation.
    • Documentation: Multi Line Script by @princestha in #11

    New Contributors

    Full Changelog: v0.7.0...v0.8.0

    Open source →
    Release notes

    BREAKING CHANGES

    • Support for positional arguments: ${0}, ${1} ...
    • To use references use rps instead of $ prefix.

    Additional changes

    • Added list command: rps ls
      • Lists all available commands
    • Added upgrade command: rps -u / rps --upgrade
    • Improved help command rps -h / rps --help
    • Updated readme documentation.
    Open source →
  8. 0.8.0-dev.2 23 Mar 2024 pre-release

    Nothing published for this version

  9. 0.8.0-dev.1 24 May 2023 pre-release
    Release notes

    Changes:

    • Added experimental support for positional arguments
    Open source →
  10. 0.7.0 29 Mar 2023
    Release notes

    BREAKING CHANGES

    • A special $script key has been introduced with a neat 💪 platform recognition feature.

      Do you work on multiple platforms? Need to use many different commands and always forget which one to use? This is what you've been waiting for!

      scripts:
        where-am-i:
          $script:
            $windows: echo "You are on Windows!"
            $linux: echo "You are on Linux!"
            $macos: echo "You are on MacOs!"
            $default: echo "You are on... something else?"
      
      user@MacBook-Pro Desktop % rps where-am-i
      > where-am-i
      $ echo "You are on MacOs!"
      
      You are on MacOs!
      
      user@MacBook-Pro Desktop %
      

      This can be useful for commands like rm -rf, which in Windows.... rd /s /q, you know what I mean, it can be helpful, right?

    • Added support for script references. From now on it is possible to call another rps command directly from a defined script.

      scripts:
        app:
          clean: flutter clean
        clean: $app clean
        c: $clean
        clear: $c
        delete: $clear
      

      This is just a simple proxy example, but you can also use it in $before and $after hooks to chain multiple scripts together.

    • ⚠️ The before- and after- hooks has been removed. Instead use the $before and $after keys. This will help keep hook scripts grouped in a project with multiple scripts defined.

      scripts:
        hooks:
          $before: echo "before"
          $script: echo "script"
          $after: echo "after"
      

      Execute by calling the rps hooks.

      It is also possible to link multiple scripts together!

      scripts:
        get: flutter pub get
        test:
          $before: $get
          $script: flutter test
        build:
          $before: $test
          $script: flutter build apk
      

      You don't have to worry about cyclic references, RPS will keep track of them and notify you in case of a problem.

    Open source →
  11. 0.7.0-dev.6 11 Mar 2023 pre-release
    Release notes

    Changes:

    • Readme improvements

    Full Changelog: v0.7.0-dev.1...v0.7.0-dev.6

    Open source →
  12. 0.7.0-dev.5 11 Mar 2023 pre-release

    Nothing published for this version

  13. 0.7.0-dev.4 11 Mar 2023 pre-release

    Nothing published for this version

  14. 0.7.0-dev.3 11 Mar 2023 pre-release

    Nothing published for this version

  15. 0.7.0-dev.2 11 Mar 2023 pre-release

    Nothing published for this version

  16. 0.7.0-dev.1 11 Mar 2023 pre-release
    Release notes

    What's Changed

    • Update to dart 2.19.4 and support for Dart 3 by @g0dzillaa in #9
    • Packages upgrades by @udiedrichsen in #6
    • Introduced $before and $after hooks
    • Removed old before- and after- command-based hooks.
    • Introduced platform specific scripts while using $script key with $windows, $linux, $macos etc
    • Introduced references $.

    New Contributors

    Full Changelog: https://github.com/gonuit/rps/commits/v0.7.0-dev.1

    Open source →
  17. 0.6.4 03 Jun 2022
    Release notes
    • Fixed readme example
    Open source →
  18. 0.6.3 21 Jan 2022
    Release notes
    • Minor bug fixes and improvements. 🚧
    Open source →
  19. 0.6.2 21 Jan 2022
    Release notes
    • Exposed executables.
    Open source →
  20. 0.6.1 21 Jan 2022
    Release notes
    • Minor bug fixes and improvements. 🚧
    • Added colorful logs. 🎨
    • Shared with the world via Github and pub.dev! 🌎
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive