Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
6931f7e2
Commit
6931f7e2
authored
Apr 05, 2019
by
Robert Czechowski
Browse files
Add format & clippy targets to makefile, no longer ignore warnings
parent
86559727
Pipeline
#67
failed with stage
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6931f7e2
debug
:
RUSTFLAGS
=
-Awarnings
RUST_BACKTRACE
=
1 cargo run
--features
watch
--
-a
RUST_BACKTRACE
=
1 cargo run
--features
watch
--
-a
test
:
RUSTFLAGS
=
-Awarnings
RUST_BACKTRACE
=
1 cargo
test
--features
watch
RUST_BACKTRACE
=
1 cargo
test
--features
watch
release
:
env
OPENSSL_LIB_DIR
=
/usr/lib/x86_64-linux-gnu/
OPENSSL_INCLUDE_DIR
=
/usr/local/include
OPENSSL_STATIC
=
yes
cargo build
--release
env
OPENSSL_LIB_DIR
=
/usr/lib/x86_64-linux-gnu/
OPENSSL_INCLUDE_DIR
=
/usr/local/include
OPENSSL_STATIC
=
yes
cargo build
--release
format
:
cargo
fmt
clippy
:
cargo clippy
--all-targets
--all-features
--
-D
warnings
-A
clippy::redundant_field_names
-A
clippy::useless_format
-A
clippy::let_and_return
-A
clippy::type_complexity
-A
clippy::option_map_unit_fn
-A
clippy::too_many_arguments
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment