Files
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
..
2020-08-08 12:05:35 +10:00
2020-08-08 12:05:35 +10:00
2020-08-08 12:05:35 +10:00
2021-06-11 17:24:58 +10:00
2021-06-11 17:24:58 +10:00
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.