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 2026Releases
latest 20-
0.10.113 Apr 2026Release notes
Open source →- Added dartdoc comments and package example.
- Enabled stricter linting rules.
-
0.10.011 Apr 2026Release notes
Open source →- Calling
rpswill now display a list of all commands and allow you to select them. - Switched from
cmdtopowershellon Windows platform.- It allows multiline scripts to be executed correctly, resolves #16.
rps lsno longer lists$before/$afterhook entries.- Child script exit codes are now reported correctly on macOS and Linux, and propagated back to the parent shell (
rps failwherefail: exit 7now exits7).
- Calling
-
0.9.102 Oct 2024Release notes
Open source →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
Release notes
Open source →- Used static linking of the CRT library on Windows instead of dynamic - solves Windows problems when the CRT library was not present.
-
0.9.001 Oct 2024Release notes
Open source →Changes:
- Added support for an external script file (
rps.yaml), thanks to @masreplay in #24.
New Contributors
- @masreplay made their first contribution in #24
Full Changelog: v0.8.2...v0.9.0
Release notes
Open source →- Added support for an external script file (
rps.yaml), thanks to @masreplay in #24.
- Added support for an external script file (
-
0.8.219 Jul 2024Release notes
Open source →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
Release notes
Open source →- Fix arguments serialization. escape backslashes, single and double quotes for shell safety and enclose in quotes if necessary: contains spaces or quotes.
-
0.8.124 Mar 2024Release notes
Open source →Changes:
- Added support for Linux Arm64 (aarch64) architecture.
- Improved Abi handling
Full Changelog: v0.8.0...v8.1.0
Release notes
Open source →- Added support for Linux Arm64 (aarch64) architecture.
- Improved Abi handling
-
0.8.023 Mar 2024Release notes
Open source →BREAKING CHANGES
- Support for positional arguments:
${0},${1}... - To use references use
rpsinstead 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
- @princestha made their first contribution in #11
Full Changelog: v0.7.0...v0.8.0
Release notes
Open source →BREAKING CHANGES
- Support for positional arguments:
${0},${1}... - To use references use
rpsinstead 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.
- Support for positional arguments:
-
0.8.0-dev.223 Mar 2024 pre-releaseNothing published for this version
-
0.8.0-dev.124 May 2023 pre-release -
0.7.029 Mar 2023Release notes
Open source →BREAKING CHANGES
-
A special
$scriptkey 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: $clearThis is just a simple proxy example, but you can also use it in
$beforeand$afterhooks to chain multiple scripts together. -
⚠️ The
before-andafter-hooks has been removed. Instead use the$beforeand$afterkeys. 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 apkYou don't have to worry about cyclic references, RPS will keep track of them and notify you in case of a problem.
-
-
0.7.0-dev.611 Mar 2023 pre-releaseRelease notes
Open source → -
0.7.0-dev.511 Mar 2023 pre-releaseNothing published for this version
-
0.7.0-dev.411 Mar 2023 pre-releaseNothing published for this version
-
0.7.0-dev.311 Mar 2023 pre-releaseNothing published for this version
-
0.7.0-dev.211 Mar 2023 pre-releaseNothing published for this version
-
0.7.0-dev.111 Mar 2023 pre-releaseRelease notes
Open source →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
$beforeand$afterhooks - Removed old
before-andafter-command-based hooks. - Introduced platform specific scripts while using
$scriptkey with$windows,$linux,$macosetc - Introduced references
$.
New Contributors
- @g0dzillaa made their first contribution in #9
- @udiedrichsen made their first contribution in #6
Full Changelog: https://github.com/gonuit/rps/commits/v0.7.0-dev.1
-
0.6.403 Jun 2022 -
0.6.321 Jan 2022 -
0.6.221 Jan 2022 -
0.6.121 Jan 2022Release notes
Open source →- Minor bug fixes and improvements. 🚧
- Added colorful logs. 🎨
- Shared with the world via Github and pub.dev! 🌎