We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd1797 commit a22781eCopy full SHA for a22781e
1 file changed
runformat
@@ -21,19 +21,4 @@ if [ "$DETECTED_VERSION" != "${UNCRUSTIFY_VERSION}" ]; then
21
exit 1
22
fi
23
24
-# OS variables
25
-[ $(uname -s) = "Darwin" ] && export OSX=1 && export UNIX=1
26
-[ $(uname -s) = "Linux" ] && export LINUX=1 && export UNIX=1
27
-uname -s | grep -q "_NT-" && export WINDOWS=1
28
-
29
-if [ $OSX ]
30
-then
31
- export CPUCOUNT=$(sysctl -n hw.ncpu)
32
-elif [ $LINUX ]
33
34
- export CPUCOUNT=$(nproc)
35
-else
36
- export CPUCOUNT="1"
37
-fi
38
39
$UNCRUSTIFY -c .uncrustify.cfg --no-backup *.cpp *.h
0 commit comments