Commit Graph

70 Commits

Author SHA1 Message Date
Sebastian Geisler
743949a55d bump cargo-metadata version 2018-01-10 23:43:54 +01:00
Sebastian Geisler
ee24dfbd2f show usage of remote flags in README.md 2018-01-10 17:20:18 +01:00
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.
2018-01-10 17:19:54 +01:00
Sebastian Geisler
161dc22cfc allow to pass multiple arguments/options to remote cargo 2018-01-10 16:27:08 +01:00
Sebastian Geisler
670b578371 refactor out match since there is only one case 2018-01-10 12:06:21 +01:00
Sebastian Geisler
de74ec56c4 improve error handling if rsync or ssh fail (remove .expect(&str)) 2018-01-10 12:03:59 +01:00
Sebastian Geisler
33da7a420a use standard structopt-derive again
Thanks @TeXitoi for clearing up my confusion about the
inner workings of structopt-derive in TeXitoi/structopt#43
2018-01-10 11:33:39 +01:00
Sebastian Geisler
35aa7950ab add license and repository link 2018-01-10 00:27:43 +01:00
Sebastian Geisler
6e90ed6b8e add hint to solve argument and config parsing 2018-01-09 23:03:34 +01:00
Sebastian Geisler
800467c314 improve and update README.md 2018-01-09 22:28:07 +01:00
Sebastian Geisler
7d4a9a1ca7 refactor out hack to make structopt work with cargo subcommand 2018-01-09 14:50:17 +01:00
Sebastian Geisler
da0142361c add switch to not transfer hidden files 2018-01-08 00:09:29 +01:00
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
2018-01-07 22:03:00 +01:00
Sebastian Geisler
62e0bffdc2 fix warnings 2018-01-07 17:30:16 +01:00
Sebastian Geisler
652e317aa1 change standard build path to ~/remote-builds 2018-01-07 16:40:53 +01:00
Sebastian Geisler
08f8bb7231 make copying back target optional 2018-01-07 15:42:15 +01:00
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.
2018-01-07 02:26:18 +01:00
Sebastian Geisler
b09ee0d93e fix email address 2018-01-04 23:10:29 +01:00
Sebastian Geisler
ae0c8ed9bc add README.md 2018-01-04 23:02:30 +01:00
Sebastian Geisler
9575e7f44a initial commit
Build with two-way-sync works, still a bit hacky.
2018-01-04 22:38:32 +01:00