cuo

Crates.iocuo
lib.rscuo
version0.3.0
sourcesrc
created_at2018-05-01 10:43:24.04456
updated_at2018-05-11 13:25:58.127314
descriptionAutomated updating and git commiting of cargo project dependencies
homepagehttps://github.com/shockham/cuo
repositoryhttps://github.com/shockham/cuo
max_upload_size
id63264
size7,355
shockham (shockham)

documentation

https://docs.rs/cuo

README

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

Commit count: 428

cargo fmt