-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean makefile and plugin table for merge with github.com/francois2me…
…tz/steampipe-plugin-ovh
- Loading branch information
1 parent
a0b5601
commit 123b4e5
Showing
2 changed files
with
2 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,2 @@ | ||
.PHONY: help | ||
|
||
help: # show this message | ||
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done | ||
|
||
install: # install the plugin as is | ||
install: | ||
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/francois2metz/ovh@latest/steampipe-plugin-ovh.plugin *.go | ||
|
||
|
||
uninstall: # for testing purposes : uninstalls & backups config | ||
steampipe plugin uninstall francois2metz/ovh | ||
mv ~/.steampipe/config/ovh.spc ~/.steampipe/config/ovh.spc.old || echo "config file not found" | ||
|
||
apply_config: | ||
mv ~/.steampipe/config/ovh.spc.old ~/.steampipe/config/ovh.spc | ||
|
||
dev: install apply_config # for testing purposes : installs and apply config | ||
|
||
reload: uninstall install apply_config # for testing purposes : uninstalls, saves config, re install and apply config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters