We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af1c425 + 3883b62 commit 00d06e1Copy full SHA for 00d06e1
.gitignore
@@ -14,6 +14,7 @@ _spidermonkey_install
14
uncrustify-*.tar.gz
15
uncrustify-*/
16
uncrustify
17
+uncrustify.exe
18
*.uncrustify
19
__pycache__/*
20
dist
setup.sh
@@ -58,9 +58,15 @@ echo "Building uncrustify"
58
cd uncrustify-source
59
mkdir -p build
60
cd build
61
-cmake ../
62
-make -j4
63
-cp uncrustify ../../uncrustify
+if [[ "$OSTYPE" == "msys"* ]]; then # Windows
+ cmake ../ -T ClangCL
+ cmake --build . -j$CPUS --config Release
64
+ cp Release/uncrustify.exe ../../uncrustify.exe
65
+else
66
+ cmake ../
67
+ make -j$CPUS
68
+ cp uncrustify ../../uncrustify
69
+fi
70
cd ../..
71
echo "Done building uncrustify"
72
0 commit comments