Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (23 sloc) 0.461 kb
#!/bin/bash
#
# Example usage: test one plugin in the debugger:
# ./testPanelPlugin.sh clock gdb --args
#
# in valgrind:
#
# ./testPanelPlugin.sh clock valgrind --leak-check=full --show-reachable=yes
#
# etc.
#
PLUGIN=$1
shift
METHOD=$@
CFG_FILE=~/.razor/razor-panel/razor-panel-testplugin.conf
cat > $CFG_FILE <<END_OF_CONFIG
[panel]
plugins=$PLUGIN
[$PLUGIN]
type=$PLUGIN
alignment=Left
END_OF_CONFIG
${METHOD} razor-panel razor-panel-testplugin.conf
Jump to Line
Something went wrong with that request. Please try again.