1.0.8 • Published 3 years ago

@robhemstede/libsync v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

LibSync

A tool to sync and share software dependencies and binary files that you don't want to add to the SCM tool (git).

The tool looks for a file named 'libsync.json'. Your project tree can contain one or more then one of these json files. From this file it will read the local path en remote path that it needs to synchronize.

as an example : libsync.json

[{
    "name": "googletest", 
    "storepath": "\\\\10.0.0.2\\Software\\lib", 
    "localpath": "../gtest/googletest",
    "down": false,
    "force": false
}]

The store path can be platform depeneded. In that case you can add path for each platform.

[{
    "name": "googletest", 
    "storepath": {
        "win32": "\\\\10.0.0.2\\Software\\lib", 
        "linux": "~/mnt/Software/lib" 
    },
    "localpath": "../gtest/googletest",
    "down": true,
    "force": false
}]

When storing the name is added the the storage path. It will also add an additional sub directory for the platform name.

For instance when running the above on a windows client. The storage path will be.

\\10.0.0.2\Software\lib\googletest\win32-x64\

When down is true then nothing will be uploaded to your storage path. Files will only be moved from server to client.

When force is set to true files will be downloaded when there are local changes. even if the local changes are newer as the version on the server

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago