Commit Graph

45 Commits (master)

Author SHA1 Message Date
Sebastian Geisler c33655c6ee fix warnings and duplicated code 3 years ago
ZSchoen 22e98e4555 fixed ssh-port & rsync address + added env to Remote 3 years ago
ZSchoen 9955b75ae8 added structopt informations for RemoteOpts 3 years ago
ZSchoen 3328e485ad removed user + fixed Cli & moved RemoteOpts into own struct + fixed port args 3 years ago
ZSchoen 11019a2799 Option.. => Partial.. 3 years ago
ZSchoen 3c6d182109 updated config format & cli 3 years ago
ZSchoen d6de41410b basic config rework 3 years ago
Bastian Köcher 5a3f93abe1 Update src/main.rs 4 years ago
Bastian Köcher fcf2629d85 Hash project path to generate unique remote build dir
This is useful when you have the same project checked out multiple times
and don't want to share the build dir (because you work on different
stuff).
4 years ago
Sebastian a2739b8917
Merge pull request #9 from paritytech/td-fix
Bring back tty allocation, to clean sub-processes.
5 years ago
Sebastian Geisler aa65cb50bf os dependant rsync progress flag 5 years ago
Tomasz Drwięga 0b8cfa9022
Bring back tty allocation, to clean sub-processes. 5 years ago
Denis S. Soldatov aka General-Beck b0668598a1
Update main.rs
error -> info Setting the remote dir name like the local.
5 years ago
Denis P cee42131b6
takes root dir name if there's no project name in the manifest 5 years ago
Denis S. Soldatov aka General-Beck e92b5bc51f
Update main.rs
update project name
5 years ago
Tomasz Drwięga 0855793590
Fix build. 5 years ago
Tomasz Drwięga d322c48878
Merge remote-tracking branch 'gbeck/master' 5 years ago
Denis S. Soldatov aka General-Beck 1c0cad2735 project_name = project_dir 5 years ago
Denis S. Soldatov aka General-Beck 21ac116fa5 project dir 5 years ago
Denis S. Soldatov aka General-Beck 060ebe8889 Use project dir name for remote 5 years ago
Tomasz Drwięga 700369a5f9
Change to error if code is not present (Unix kill-by-signal). 5 years ago
Tomasz Drwięga deaa457925
Change error code for Cargo.lock 5 years ago
Tomasz Drwięga 09db6b2aa9
Allow transferring only a subset of files. 5 years ago
Tomasz Drwięga bd053415e1
Propagate error code. 5 years ago
Tomasz Drwięga fad8aef22f
Copy back the lock file. 5 years ago
Denis S. Soldatov aka General-Beck feb6d92f4a add rustup version
env default /etc/profile
5 years ago
Denis S. Soldatov aka General-Beck 78aabdd621 source /etc/profile 5 years ago
Denis S. Soldatov aka General-Beck 04ff506dfc update PATH to cargo 5 years ago
Fisher Darling 992e1fcc87 Update 2018, fixed breaking changes. 5 years ago
Fisher Darling ae0a3d8d6e Updated to 2018, changed some sections of code. 5 years ago
Valentin Lorentz 8730bd4d49 Use compression when rsyncing target/ back to the client. 6 years ago
Sebastian Geisler c937f69177 search for config files at multiple places 6 years ago
Sebastian Geisler d6017f57ed require at lest one command
Clap's min_values did not work. This commit splits
the command, which is obligatory, from the remote
options, which are optional.
6 years ago
Sebastian Geisler 161dc22cfc allow to pass multiple arguments/options to remote cargo 6 years ago
Sebastian Geisler 670b578371 refactor out match since there is only one case 6 years ago
Sebastian Geisler de74ec56c4 improve error handling if rsync or ssh fail (remove .expect(&str)) 6 years ago
Sebastian Geisler 6e90ed6b8e add hint to solve argument and config parsing 6 years ago
Sebastian Geisler 7d4a9a1ca7 refactor out hack to make structopt work with cargo subcommand 6 years ago
Sebastian Geisler da0142361c add switch to not transfer hidden files 6 years ago
Sebastian Geisler 92b0629117 add manifest path option & fix bug
* add option to specify location of Cargo.toml
* fix bug that remote-builds directory isn't created on the remote host
6 years ago
Sebastian Geisler 62e0bffdc2 fix warnings 6 years ago
Sebastian Geisler 652e317aa1 change standard build path to ~/remote-builds 6 years ago
Sebastian Geisler 08f8bb7231 make copying back target optional 6 years ago
Sebastian Geisler 834cce64bc parse config file to find default remote
If no --remote is specified the .cargo-remote.toml config file will be consulted to find a remote build server. If none is found an error is thrown.
6 years ago
Sebastian Geisler 9575e7f44a initial commit
Build with two-way-sync works, still a bit hacky.
6 years ago