Skip to content

Rust-Empty 0.7

Latest
Compare
Choose a tag to compare
@bvssvni bvssvni released this 13 Jul 08:58
· 23 commits to master since this release

Rust-Empty is a Make/Bash setup tool for Rust projects.
For more information see https://github.com/bvssvni/rust-empty

Highlights:

  • Ownership is moved to @PistonDevelopers to ease maintenance
  • Symlink build script now uses Cargo if no Makefile is specified
  • Improved git filter for the Kate editor
  • Cargo-Lite support is removed and replaced with Cargo
  • Folder name used as crate name when setting up library

Noticeable bug fixes:

  • Use crate_name instead of crate_id
  • cargo-lib now generates correct file
  • Prevent the symlink build script from looping forever when visiting itself
  • Increase history counter correctly in symlink build
--- rust-empty (0.7 000)
make run               - Runs executable
make exe               - Builds main executable
make lib               - Both static and dynamic library
make rlib              - Static library
make dylib             - Dynamic library
make test              - Tests library internally and externally
make test-internal     - Tests library internally
make test-external     - Tests library externally
make bench             - Benchmarks library internally and externally
make bench-internal    - Benchmarks library internally
make bench-external    - Benchmarks library externally
make doc               - Builds documentation for library
make git-ignore        - Setup files to be ignored by Git
make examples          - Builds examples
make cargo-exe         - Setup executable package
make cargo-lib         - Setup library package
make rust-ci-lib       - Setup Travis CI Rust library
make rust-ci-exe       - Setup Travis CI Rust executable
make rusti             - Setup 'rusti.sh' for interactive Rust
make watch             - Setup 'watch.sh' for compilation on save
make loc               - Count lines of code in src folder
make nightly-install   - Installs Rust nightly build
make nightly-uninstall - Uninstalls Rust nightly build
make clean             - Deletes binaries and documentation.
make clear-project     - WARNING: Deletes project files except 'Makefile'
make clear-git         - WARNING: Deletes Git setup
make symlink-build     - Creates a script for building dependencies
make symlink-info      - Symlinked libraries dependency info
make target-dir        - Creates directory for current target