| 1 |
tasks/_vendor: Bundled vendor parts -- needed by tasks |
| 2 |
=============================================================================== |
| 3 |
|
| 4 |
This directory contains bundled archives that may be needed to run the tasks. |
| 5 |
Especially, it contains an executable "invoke.zip" archive. |
| 6 |
This archive can be used when invoke is not installed. |
| 7 |
|
| 8 |
To execute invoke from the bundled ZIP archive:: |
| 9 |
|
| 10 |
|
| 11 |
python -m tasks/_vendor/invoke.zip --help |
| 12 |
python -m tasks/_vendor/invoke.zip --version |
| 13 |
|
| 14 |
|
| 15 |
Example for a local "bin/invoke" script in a UNIX like platform environment:: |
| 16 |
|
| 17 |
#!/bin/bash |
| 18 |
# RUN INVOKE: From bundled ZIP file. |
| 19 |
|
| 20 |
HERE=$(dirname $0) |
| 21 |
|
| 22 |
python ${HERE}/../tasks/_vendor/invoke.zip $* |
| 23 |
|
| 24 |
Example for a local "bin/invoke.cmd" script in a Windows environment:: |
| 25 |
|
| 26 |
@echo off |
| 27 |
REM ========================================================================== |
| 28 |
REM RUN INVOKE: From bundled ZIP file. |
| 29 |
REM ========================================================================== |
| 30 |
|
| 31 |
setlocal |
| 32 |
set HERE=%~dp0 |
| 33 |
if not defined PYTHON set PYTHON=python |
| 34 |
|
| 35 |
%PYTHON% %HERE%../tasks/_vendor/invoke.zip "%*" |