- Used static linking of the CRT library on Windows instead of dynamic - solves Windows problems when the CRT library was not present.
- Added support for an external script file (
rps.yaml), thanks to @masreplay in #24.
- Fix arguments serialization. escape backslashes, single and double quotes for shell safety and enclose in quotes if necessary: contains spaces or quotes.
- Added support for Linux Arm64 (aarch64) architecture.
- Improved Abi handling
- Support for positional arguments:
${0},${1}... - To use references use
rpsinstead of$prefix.
- 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.
-
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: $clear
This is just a simple proxy example, but you can also use it in
$beforeand$afterhooks to chain multiple scripts together. -
⚠️ Thebefore-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 apk
You don't have to worry about cyclic references, RPS will keep track of them and notify you in case of a problem.
- Update dependencies
- Longer description in pubspec.yaml
- pedantic (deprecated) replaced by flutter_lints
- Fixed readme example
- Minor bug fixes and improvements. 🚧
- Exposed executables.
- Minor bug fixes and improvements. 🚧
- Added colorful logs. 🎨
- Shared with the world via Github and pub.dev! 🌎
- Added optional
before-andafter-hooks support.
- A
--versionflag has been added.
- Move towards native implementation.
- Added native support for linux (x86_64).
- Move towards native implementation.
- Added native support for windows (x86_64).
- Move towards native implementation.
- Added native support for macos (arm64).
- Move towards native implementation.
- Added native support for macos (x86_64).
- Added basic logs.
- Added two-way communication with the child process through dart
Process.
- Initial version.