mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:57:17 +08:00
build_tools/style: drop guidance to use make
This commit is contained in:
parent
e9b853e0c2
commit
a0f785c90f
|
@ -69,7 +69,7 @@ Suppressing oclint warnings is more complicated to describe so I'll refer you to
|
|||
The following sections discuss the specific rules for the style that should be used when writing fish code. To ensure your changes conform to the style rules you simply need to run
|
||||
|
||||
```
|
||||
make style
|
||||
build_tools/style.fish
|
||||
```
|
||||
|
||||
before committing your change. That will run `git-clang-format` to rewrite only the lines you're modifying.
|
||||
|
@ -79,7 +79,7 @@ If you've already committed your changes that's okay since it will then check th
|
|||
If you want to check the style of the entire code base run
|
||||
|
||||
```
|
||||
make style-all
|
||||
build_tools/style.fish --all
|
||||
```
|
||||
|
||||
That command will refuse to restyle any files if you have uncommitted changes.
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env fish
|
||||
#
|
||||
# This is meant to be run by "make style" or "make style-all". It is not meant to
|
||||
# be run directly from a shell prompt although it can be.
|
||||
#
|
||||
# This runs C++ files and fish scripts (*.fish) through their respective code
|
||||
# formatting programs.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user