mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-30 23:44:03 +08:00
20 lines
406 B
Bash
Executable file
20 lines
406 B
Bash
Executable file
#!/bin/bash
|
|
|
|
. $(dirname $0)/prelude.bash
|
|
|
|
checkout=./repos/plugins.svn.wordpress.org
|
|
|
|
mkdir -p $checkout
|
|
cd $checkout
|
|
[[ -d .svn ]] || RUN svn co https://plugins.svn.wordpress.org --depth immediates
|
|
|
|
RUN svn cleanup
|
|
RUN svn update --ignore-externals --depth immediates
|
|
|
|
for plugin in *
|
|
do
|
|
echo "==== PLUGIN: $plugin"
|
|
RUN svn update --ignore-externals --set-depth infinity $plugin/trunk || true
|
|
done
|
|
|
|
|