mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-31 23:54:06 +08:00
* feat: dead simple and dead slow svn checkout scripts for plugins/themes * feat: add scripts to check for updated plugins/themes * tweak: split slugs on commas or whitespace instead of just commas * tweak: replace --plugins and --themes options with --slugs and --slugs-from * tweak: add logging config to Caddyfile * feat: push-sync and update-sync commands * build: bump composer versions
14 lines
326 B
Bash
Executable file
14 lines
326 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# export TRACE=1
|
|
|
|
. $(dirname $0)/prelude.bash
|
|
|
|
LOOKBACK_INTERVAL=${LOOKBACK_INTERVAL:--2 hours}
|
|
|
|
function main () {
|
|
bin/console sync:meta:dump:plugins --after="$LOOKBACK_INTERVAL" | bin/push-to-aspirecloud
|
|
bin/console sync:meta:dump:themes --after="$LOOKBACK_INTERVAL" | bin/push-to-aspirecloud
|
|
}
|
|
|
|
main "$@"
|