This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
pluginInstallPath="$HOME/.local/lib/nasin/plugins"
|
|
|
|
mkdir -p build
|
|
mkdir -p "$pluginInstallPath"
|
|
|
|
install() {
|
|
go build -buildmode=plugin -o "build/$1.so" "./plugins/$1" && \
|
|
cp "build/$1.so" $pluginInstallPath
|
|
}
|