Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.91 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.91 KB

banner

diff Tool In Rust

diff_tool

Setup

To compile the tool, make sure that you have a Rust toolchain installation targeted for your system. Once installed,

$> git clone https://github.com/shubham0204/diff-tool.rs
$> cd diff-tool.rs
$> cargo build --release
$> cp target/release/diff .

The diff tool is now available in the root directory of the project. Use text files from samples to test,

Usage: ./diff <filepath1> <filepath2>
$> ./diff samples/sample_02/script1.kt samples/sample_02/script2.kt

Important

Most Linux distros come with a builtin diff tool installed. As both, the executable from this project and the pre-installed diff tool have the same name, use ./diff to use the project's executable.

Useful Resources