Merge branch '112-uncrustify-new-build-block' into 'master'
Resolve "uncrustify: new build-block" Closes #112 See merge request Pmodules/buildblocks!147
This commit is contained in:
17
Tools/uncrustify/build
Executable file
17
Tools/uncrustify/build
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
|
||||
pbuild::set_download_url \
|
||||
"https://github.com/$P/$P/archive/$P-${V_PKG}.tar.gz"
|
||||
#pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb'
|
||||
#pbuild::install_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
|
||||
#pbuild::add_configure_args '--with-latex=no'
|
||||
#pbuild::add_configure_args '--with-qt=no'
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
1
Tools/uncrustify/files/variants.rhel6
Normal file
1
Tools/uncrustify/files/variants.rhel6
Normal file
@@ -0,0 +1 @@
|
||||
uncrustify/0.71.0 unstable b:cmake/3.15.5 b:Python/3.8.4 b:gcc/8.4.0
|
||||
26
Tools/uncrustify/modulefile
Normal file
26
Tools/uncrustify/modulefile
Normal file
@@ -0,0 +1,26 @@
|
||||
#%Pmodule
|
||||
|
||||
module-whatis "code-formatter"
|
||||
module-url "http://uncrustify.sourceforge.net"
|
||||
module-license "GNU GPLv2"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
The goals of this project are simple: Create a highly configurable,
|
||||
easily modifiable source code beautifier.
|
||||
|
||||
Features:
|
||||
|
||||
* Indent code, aligning on parens, assignments, etc
|
||||
* Align on '=' and variable definitions
|
||||
* Align structure initializers
|
||||
* Align #define stuff
|
||||
* Align backslash-newline stuff
|
||||
* Reformat comments (a little bit)
|
||||
* Fix inter-character spacing
|
||||
* Add or remove parens on return statements
|
||||
* Add or remove braces on single-statement if/do/while/for statements
|
||||
* Supports embedded SQL 'EXEC SQL' stuff
|
||||
* Highly configurable - 735 configurable options as of version 0.71.0
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user