sip_script_runner 0.2.0 sip_script_runner: ^0.2.0 copied to clipboard
The core package for sip, used to parse and run project commands/scripts
0.2.0 | 3/7/2024 #
Breaking Change #
- Remove
--disable-concurrency
in the sip run command- in favor of
--no-concurrent
flag - This is in efforts to keep the flag names consistent
- in favor of
- Dropping use of
sip_console
in favor ofmason_logger
Features #
- Update logging to be more consistent
- Add stopwatch to print statements
- Handle non-null non-string values in script definitions
- ints & bools for example
- Maps are not supported however
Enhancements #
- Use stream controller instead of
Future.wait
to run concurrent commands- Better control over commands
- The ability to bail faster on failure
- Drop use of get_it for dependency injection
- This was overkill 😅
- Ensure that script exists before running with
--never-exit
flag
0.1.2+1 | 3/6/2024 #
Features #
- Add
--never-exit
flag tosip run
command- This will prevent the command from ever exiting, even if a command fails
- This is useful for running a command that will be restarted by another process
- For example, build_runner will stop running whenever the project's dependencies change
- Please use with Caution! There is a second delay between each command run to prevent a runaway process
- The process can be stopped by pressing
ctrl+c
0.1.1 | 3/5/2024 #
Enhancements #
- Add very_good_analysis for linting
- Fix lint warnings
- Restructure Readme
0.1.0 | 3/4/2024 #
Breaking Changes #
- Remove
run-many
command- Use
run
with the--concurrent
flag instead
- Use
Features #
- Add
--concurrent
flag torun
command- This will run all scripts in parallel, regardless of the concurrent symbol defined within the script
- Add
--disable-concurrency
flag torun
command- This will run all scripts in serial, regardless of the concurrent symbol defined within the script
- Add
sip test
command- Runs projects tests
- Can recursively search for
test
directories - Can run concurrent tests
- Passes most dart & flutter args to the
test
command
- Can recursively search for
- Runs projects tests
Enhancements #
- Speed up recursive search for sub-packages using
glob
- Update README
- To include new
test
command - To remove
run-many
command - Spelling and grammar updates
- To include new
- Better handle dependency injection
Fixes #
- Fix issue where
--help
was not printing for therun
command
0.0.17 | 2/13/2024 #
0.0.16 | 2/13/2024 #
Features #
- Add parsing support for chained short flags (
sip run my-script -abc
)
0.0.13 | 2/12/2024 #
Features #
- Allow any args to be provided in any order without the requirement of
--
before any "extra" args.- Before:
sip run-many my-script -- --arg1 --arg2
- After :
sip run-many my-script --arg1 --arg2
- Before:
0.0.10 | 2/12/2024 #
0.0.9 | 2/10/2024 #
0.0.8 | 2/9/2024 #
Fixes #
- Fix issue where bail was not being respected and failing commands were not stopping the script
0.0.5 | 2/9/2024 #
Features #
- Support individual concurrent commands with
(+)
- Support defining variables in
scripts.yaml
to use in commands - Support defining private scripts in
scripts.yaml
to use as references - Add alias for
run-many
command (r-m
,run-m
)
Enhancements #
- Tighten key pattern matching
- Improve color output when listing scripts, lighten color for scripts without a command definition
Fixes #
- Handle
null
scripts
0.0.4 | 2/9/2024 #
- Add version constraints to dependencies to support adding
sip_cli
to flutter projects
0.0.3 | 1/30/2024 #
- Initial Release