restructure to build individual binaries
This commit is contained in:
1 parent
e61475c7ea
commit
fc31b28ab6
8 files changed
+30
-43
No files matched your search
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
repo_gc() {
|
||||
declare desc="runs 'git gc --aggressive' against the application's repo"
|
||||
local cmd="repo:gc"
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
local APP="$2"; local APP_DIR="$DOKKU_ROOT/$APP"
|
||||
verify_app_name "$APP"
|
||||
|
||||
GIT_DIR="$APP_DIR" git gc --aggressive
|
||||
}
|
||||
|
||||
repo_gc "$@"
|
||||
Reference in new issue
Block a user