Skip to content

Commit

Permalink
Move nitrocli source code into repository root
Browse files Browse the repository at this point in the history
Now that all vendored dependencies have been removed, this change moves
the program's source code from the nitrocli/ directory into the root of
the repository.
  • Loading branch information
d-e-s-o committed Apr 4, 2020
1 parent d0d9683 commit 681cc88
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 13 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion nitrocli/CHANGELOG.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Unreleased
----------
- Removed vendored dependencies
- Removed vendored dependencies and moved source code into repository
root


0.3.1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions nitrocli/README.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ $ cargo install nitrocli --root=$PWD/nitrocli
```

#### From Source
After cloning the repository and changing into the `nitrocli` subfolder,
the build is as simple as running:
After cloning the repository the build is as simple as running:
```bash
$ cargo build --release
```
Expand Down
10 changes: 0 additions & 10 deletions nitrocli/ci/gitlab-ci.yml → ci/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,15 @@ build-test:cargo:
- apt-get update
- apt-get install --assume-yes libudev-dev libhidapi-dev
- rustc --version && cargo --version
- cd nitrocli
- cargo build --all --verbose
- cargo test --all --verbose

lint:clippy:
script:
- rustup component add clippy
# First check and build everything but be very permissive. Then clean
# only the nitrocli package artifacts. Lastly check once more, but
# with warnings turned to errors. This last run will only recheck
# nitrocli (everything else is still up-to-date). That procedure is
# necessary because consumed dependencies may emit errors otherwise.
- cd nitrocli
- cargo clippy --all-targets --all-features -- -A clippy::all
- cargo clean --package=nitrocli
- cargo clippy --all-targets --all-features -- -D warnings

format:rustfmt:
script:
- rustup component add rustfmt
- cd nitrocli
- cargo fmt --all -- --check
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 681cc88

Please sign in to comment.