stash/pkg/plugin/examples
WithoutPants 46bbede9a0
Plugin hooks (#1452)
* Refactor session and plugin code
* Add context to job tasks
* Show hooks in plugins page
* Refactor session management
2021-06-11 17:24:58 +10:00
..
common Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
goraw Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
gorpc Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
js Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
python Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
README.md Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00

Building

From the base stash source directory:

go build -tags=plugin_example -o plugin_goraw.exe ./pkg/plugin/examples/goraw/...
go build -tags=plugin_example -o plugin_gorpc.exe ./pkg/plugin/examples/gorpc/...

Place the resulting binaries together with the yml files in the plugins subdirectory of your stash directory.