| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It appears that some older versions of the Rust compiler do not like the
double colon syntax when setting environment variables for the build
process. Until the latest cargo release will only accept the double
colon syntax, use a single colon when setting environment variables in
build.rs.
Signed-off-by: Rory Dudley <rory@netc.lu>
|
|
|
|
|
|
|
|
|
|
| |
The '--version' option prints out the program version, along with the
first 10 characters of the git commit hash, indicating at what commit
the program was built. This patch reduces the length of the commit hash
that gets embeded in the dwvsh binary to 7 characters, as that should be
more than enought to determine the correct commit.
Signed-off-by: Rory Dudley <rory@netc.lu>
|
|
Add some basic logic for parsing commandline arguments. Also, use
build.rs to embed the program version (and git commit) during the
compile step. The program currently accepts the '--version' commandline
argument to print the version, then quit.
|