svn-updator
Periodic automatic execution of svn update
, which can be used by the server based on the svn update service program
Installation
npm i -g @yamiwamiyu/svn-updator
Usage
- Please ensure that the svn client is installed first(Download:https://tortoisesvn.net/downloads.html)
Please ensure that the svn command line tool is checked during installation
You can view the installation results of svn through the command svn help
- Check out your published program to any directory through svn
- Open command line in svn directory
- Enter the following code to start svn update
# Optional -p The directory to be updated by svn. The default is the directory of the current cmd
# Optional -t The period for svn update. The unit is seconds. The default is 30 seconds
# Example svn-update -p svn-path -t 60
svn-update