| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Refactor taskipy into Task, PyProject, and TaskRunner (#15) | Eugene Triguba | 2020-06-15 | 10 | -150/+293 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run `poetry update` * Sort test imports & convert unused f strings to strings There were some f strings that weren't interpolating anything. * Create custom exceptions * Refactor taskipi package into task, pyproject, and task_runner * Add docstrings & types to task & task_runner. Also, a small refactoring of __bail_on_first_fail() in task_runner.py. * Remove docstrings * Add MissingTaskipySettingsSectionError * Make path & items in PyProject private * Check runner is string rather than catching AttributeError * Add default exception case to cli * Add exit_code class variable to exceptions * Change PyProject to take in the file_path This also converts the instance variables to be private and has __load_toml_file convert the file_path to a Path if it is a str. We also no longer store the file_path since __load_toml_file is the only place it is needed so it is just passed in. * Task now builds the commands & takes in args + project I think args could possibly be moved over to commands since that is the only place it is used and that would reduce the amount of things we are passing in to Task. commands would just have to be converted to a method instead of a property then. * TaskRunner only runs the commands now with the project passed in Instead of putting the commands together, that is now delegated to Task. The run_commands_and_bail_on_first_fail method is now gone as that is what `run` does now. Furthermore, the instance variables of TaskRunner are private now. A single instance of the TaskRunner can now run many tasks now, since it is not tied to any particular task. * Update cli to use updated TaskRunner The pyproject.toml path is now passed in with the command name and args being passed to `run`. * Use single quotes * Extract pre_task & post_task to use __find_hooks They are basically the same method, with a one word difference. | ||||
| * | Update ADVANCED_FEATURES.md | Roy Sommer | 2020-06-13 | 1 | -3/+0 |
| | | |||||
| * | added self for maintenance | Roy Sommer | 2020-03-22 | 1 | -0/+8 |
| | | |||||
| * | Release version 1.2.11.2.1 | Roy Sommer | 2020-03-21 | 1 | -1/+1 |
| | | |||||
| * | Passed Arguments Are Escaped Properly (#12) | Roy Sommer | 2020-03-21 | 5 | -1/+26 |
| | | | | passed arguments are now escaped properly. can pass arguments with spaces. | ||||
| * | Release version 1.2.01.2.0 | Roy Sommer | 2020-03-07 | 1 | -1/+1 |
| | | |||||
| * | fix advanced features doc links | Roy Sommer | 2020-03-07 | 1 | -3/+3 |
| | | |||||
| * | Custom Runner (#11) | Roy Sommer | 2020-03-07 | 7 | -21/+179 |
| | | |||||
| * | updated travis badge to indicate master status | Roy Sommer | 2020-03-07 | 1 | -1/+1 |
| | | |||||
| * | Release version 1.1.31.1.3 | Roy Sommer | 2020-02-01 | 1 | -1/+1 |
| | | |||||
| * | Ignore SIGINT While Running Tasks (#8) | Roy Sommer | 2020-02-01 | 7 | -8/+112 |
| | | | | fix: sigint is now ignored by taskipy process, reflects output of task instead | ||||
| * | renamed hooks dir | Roy Sommer | 2020-01-23 | 2 | -1/+1 |
| | | |||||
| * | Release version 1.1.21.1.2 | Roy Sommer | 2020-01-23 | 1 | -1/+1 |
| | | |||||
| * | now automatically adding release tag whenever released | Roy Sommer | 2020-01-23 | 2 | -4/+4 |
| | | |||||
| * | now automatically adding release tag whenever released | Roy Sommer | 2020-01-23 | 2 | -4/+23 |
| | | |||||
| * | bumped patch version1.1.1 | Roy Sommer | 2020-01-23 | 1 | -1/+1 |
| | | |||||
| * | docs: add merwok as a contributor (#5) | allcontributors[bot] | 2020-01-23 | 2 | -0/+46 |
| | | | | | | | | | | | * docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] * Update README.md Co-authored-by: Roy Sommer <illBeRoy@users.noreply.github.com> | ||||
| * | Use tighter except blocks (#3) | Éric Araujo | 2020-01-23 | 1 | -7/+9 |
| | | |||||
| * | bumped minor version | Roy Sommer | 2020-01-02 | 1 | -1/+1 |
| | | |||||
| * | publish minor task | Roy Sommer | 2020-01-02 | 1 | -0/+4 |
| | | |||||
| * | Merge pull request #2 from illBeRoy/pass-arguments-to-task | Roy Sommer | 2020-01-02 | 6 | -5/+83 |
| |\ | | | | | Support Passing Command Line Arguments Into Tasks | ||||
| | * | added support for passing arguments into taskipy tasks | Roy Sommer | 2020-01-02 | 6 | -5/+83 |
| |/ | |||||
| * | updated pytoml | Roy Sommer | 2019-12-24 | 1 | -1/+1 |
| | | |||||
| * | bumped minor version | Roy Sommer | 2019-12-24 | 1 | -1/+1 |
| | | |||||
| * | updates | Roy Sommer | 2019-12-24 | 1 | -2/+2 |
| | | |||||
| * | bumped minor version | Roy Sommer | 2019-12-24 | 1 | -1/+1 |
| | | |||||
| * | updated pytoml | Roy Sommer | 2019-12-24 | 2 | -3/+7 |
| | | |||||
| * | updated travis yaml | Roy Sommer | 2019-12-24 | 2 | -6/+1 |
| | | |||||
| * | updated travis yaml | Roy Sommer | 2019-12-24 | 2 | -1/+4 |
| | | |||||
| * | added travis config | Roy Sommer | 2019-12-24 | 1 | -0/+16 |
| | | |||||
| * | Update README.md | Roy Sommer | 2019-12-24 | 1 | -17/+21 |
| | | |||||
| * | revert | Roy Sommer | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | logo url | Roy Sommer | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | renaming | Roy Sommer | 2019-12-23 | 7 | -16/+16 |
| | | |||||
| * | v1.0.0 | Roy Sommer | 2019-12-23 | 7 | -87/+188 |
| | | |||||
| * | initial commit | Roy Sommer | 2019-12-22 | 21 | -0/+761 |