Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 644 Bytes

File metadata and controls

33 lines (22 loc) · 644 Bytes

CodeOnly

Annoyed by comments cluttering your code?

Those stupid //TODO and //FIXME your co-worker put everywhere need to be removed?

CodeOnly helps you out: no comments - no problems.

Build

  • set toolchain to nightly
rustup override set nightly
  • run with:
cargo run [directory]
  • install and run from anywhere:
cargo install --path .
~/.cargo/bin/codeonly [directory]

Contribute

  • add another /src/codeonly_<file-extension>.rs file that removes the comments from the given programming language
  • import the module in /src/main.rs
  • add another pattern match in /src/main.rs