Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.
/ cuo Public archive

Automatically update patch & minor dependency versions of rust/cargo bin projects.

Notifications You must be signed in to change notification settings

shockham/cuo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuo

Build status

Tool to automate updating minor dependency versions in rust bin projects.

Loosely Based upon the following bash script:

#!/bin/bash

function updated_outdated {
    cargo update
    cargo outdated
    if [ $? -eq 0 ]
    then
        rg -q "Cargo.lock" .gitignore
        if [ $? -eq 1 ]
        then
            git add --all
            git commit -m "Update deps"
            if [ $? -eq 0 ]
            then
                git push origin master
            fi
        fi
    fi
}

find . -mindepth 1 -maxdepth 1 -type d | while read -r dir
do
    pushd $dir
    if [[ -f "Cargo.toml" ]]
    then
        echo "CHECKING $dir"
        updated_outdated
    fi
    popd
done

About

Automatically update patch & minor dependency versions of rust/cargo bin projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages