Skip to content

Nullora/NovusDeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NovusDeploy

A tool to help you keep your code up-to-date across multiple files.

Installation (Linux Only)

Clone the repo

git clone https://github.com/Nullora/NovusDeploy

Setup folders

make setup # makes necessary folders and files

Build your own binary

make clean
make # requires gcc installed

Copy to path

Copy it to PATH

make deploy

Usage

Single tags (Beginner)

To add a source file and assign it to a tag

ndep add ~/path/to/file <yourtag>

To add a destination file and assign it to a tag

ndep add-d ~/destination/folder <yourtag> # "add destination"

To delete a tag

ndep del <yourtag> # 'delete'

To deploy the new source file to all destination files

ndep dep <yourtag> # "deploy"

To backup your source file

ndep set <yourtag>

To revert your source file to last backup

ndep rev <yourtag> # "revert"

To directly deploy your tag to PATH instead of manually adding PATH to your dests

ndep depp <yourtag> # "deploy path"

To list all tags

ndep list

Multi tag / Tag groups (Advanced)

To make a new group

ndep addg <groupname> # "add group"

This will prompt you for a list of already existing tags:

Tag to add: <yourtag1> # must be an existing tag
Tag to add: <yourtag2> # must be an existing tag
Tag to add: hlt # ends tag group

To set a backup for that group

ndep setg <groupname> # "set group"

To revert group to previous backup

ndep revg <groupname> # this reverts the whole group, use with caution

To deploy all tags in a group to their respective destination folders

ndep depg <groupname> # this deploys every tag to its corresponding destination

To list all tags in a specific group

ndep listg <groupname>

To list all groups

ndep glist 

About

Keep your files up-to-date across all local projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors