summaryrefslogtreecommitdiffstats
path: root/indenters
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-09-18 14:21:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-09-18 14:21:27 +0900
commit8d6255b84d9fb6a585d010119f289baff0794df9 (patch)
tree5e2a9bb3ea6f85217a9e01cee5634dca5170ca50 /indenters
parent3db895919a4cd36972dd5241f480a68fe0f4eb4d (diff)
downloaduniversal-indent-gui-tqt-8d6255b84d9fb6a585d010119f289baff0794df9.tar.gz
universal-indent-gui-tqt-8d6255b84d9fb6a585d010119f289baff0794df9.zip
Added indenter examples
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'indenters')
-rw-r--r--indenters/CMakeLists.txt34
-rwxr-xr-xindenters/examples/JsDecoder.js (renamed from indenters/__TODO/JsDecoder.js)0
-rwxr-xr-xindenters/examples/example.cbl (renamed from indenters/__TODO/example.cbl)0
-rwxr-xr-xindenters/examples/example.css (renamed from indenters/__TODO/example.css)0
-rwxr-xr-xindenters/examples/example.f90 (renamed from indenters/__TODO/example.f90)0
-rwxr-xr-xindenters/examples/example.html (renamed from indenters/__TODO/example.html)0
-rwxr-xr-xindenters/examples/example.js (renamed from indenters/__TODO/example.js)0
-rwxr-xr-xindenters/examples/example.php (renamed from indenters/__TODO/example.php)0
-rwxr-xr-xindenters/examples/example.pl (renamed from indenters/__TODO/example.pl)0
-rwxr-xr-xindenters/examples/example.py (renamed from indenters/__TODO/example.py)0
-rwxr-xr-xindenters/examples/example.rb (renamed from indenters/__TODO/example.rb)0
-rwxr-xr-xindenters/examples/example.sh (renamed from indenters/__TODO/example.sh)0
-rwxr-xr-xindenters/examples/example.sql (renamed from indenters/__TODO/example.sql)0
-rwxr-xr-xindenters/examples/example.vb (renamed from indenters/__TODO/example.vb)0
-rwxr-xr-xindenters/examples/example.xml (renamed from indenters/__TODO/example.xml)0
-rwxr-xr-xindenters/examples/hindent (renamed from indenters/__TODO/hindent)0
-rwxr-xr-xindenters/examples/hindent.html (renamed from indenters/__TODO/hindent.html)0
-rwxr-xr-xindenters/examples/perltidy (renamed from indenters/__TODO/perltidy)0
-rwxr-xr-xindenters/examples/phpStylist.php (renamed from indenters/__TODO/phpStylist.php)0
-rwxr-xr-xindenters/examples/phpStylist.txt (renamed from indenters/__TODO/phpStylist.txt)0
-rwxr-xr-xindenters/examples/pindent.py (renamed from indenters/__TODO/pindent.py)0
-rwxr-xr-xindenters/examples/pindent.txt (renamed from indenters/__TODO/pindent.txt)0
-rwxr-xr-xindenters/examples/rbeautify.rb (renamed from indenters/__TODO/rbeautify.rb)0
-rwxr-xr-xindenters/examples/ruby_formatter.rb (renamed from indenters/__TODO/ruby_formatter.rb)0
-rwxr-xr-xindenters/examples/shellindent.awk (renamed from indenters/__TODO/shellindent.awk)0
25 files changed, 8 insertions, 26 deletions
diff --git a/indenters/CMakeLists.txt b/indenters/CMakeLists.txt
index 2fc3cb0..b5062c9 100644
--- a/indenters/CMakeLists.txt
+++ b/indenters/CMakeLists.txt
@@ -1,29 +1,11 @@
+file( GLOB _indenters RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ini *.cpp)
install(
- FILES
- example.cpp
- uigui_astyle.ini
- uigui_bcpp.ini
- uigui_CblBeau.ini
- uigui_csstidy.ini
- uigui_f90ppr.ini
- uigui_gnuindent.ini
- uigui_greatcode.ini
- uigui_hindent.ini
- uigui_htb.ini
- uigui_jsdecoder.ini
- uigui_jsppp.ini
- uigui_perltidy.ini
- uigui_php_Beautifier.ini
- uigui_phpCB.ini
- uigui_phpStylist.ini
- uigui_pindent.ini
- uigui_psti.ini
- uigui_rbeautify.ini
- uigui_rubyformatter.ini
- uigui_shellindent.ini
- uigui_tidy.ini
- uigui_uncrustify.ini
- uigui_vbsbeaut.ini
- uigui_xmlindent.ini
+ FILES ${_indenters}
DESTINATION ${SHARE_INSTALL_PREFIX}/universal-indent-gui-tqt/indenters
)
+
+file( GLOB _indenters_examples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} examples/* )
+install(
+ FILES ${_indenters_examples}
+ DESTINATION ${SHARE_INSTALL_PREFIX}/universal-indent-gui-tqt/indenters/examples
+)
diff --git a/indenters/__TODO/JsDecoder.js b/indenters/examples/JsDecoder.js
index ec9f3ca..ec9f3ca 100755
--- a/indenters/__TODO/JsDecoder.js
+++ b/indenters/examples/JsDecoder.js
diff --git a/indenters/__TODO/example.cbl b/indenters/examples/example.cbl
index 8b12b04..8b12b04 100755
--- a/indenters/__TODO/example.cbl
+++ b/indenters/examples/example.cbl
diff --git a/indenters/__TODO/example.css b/indenters/examples/example.css
index 438f8ab..438f8ab 100755
--- a/indenters/__TODO/example.css
+++ b/indenters/examples/example.css
diff --git a/indenters/__TODO/example.f90 b/indenters/examples/example.f90
index 8131b8b..8131b8b 100755
--- a/indenters/__TODO/example.f90
+++ b/indenters/examples/example.f90
diff --git a/indenters/__TODO/example.html b/indenters/examples/example.html
index 4998e31..4998e31 100755
--- a/indenters/__TODO/example.html
+++ b/indenters/examples/example.html
diff --git a/indenters/__TODO/example.js b/indenters/examples/example.js
index a807cae..a807cae 100755
--- a/indenters/__TODO/example.js
+++ b/indenters/examples/example.js
diff --git a/indenters/__TODO/example.php b/indenters/examples/example.php
index 5817e49..5817e49 100755
--- a/indenters/__TODO/example.php
+++ b/indenters/examples/example.php
diff --git a/indenters/__TODO/example.pl b/indenters/examples/example.pl
index 1323bfc..1323bfc 100755
--- a/indenters/__TODO/example.pl
+++ b/indenters/examples/example.pl
diff --git a/indenters/__TODO/example.py b/indenters/examples/example.py
index a975cb2..a975cb2 100755
--- a/indenters/__TODO/example.py
+++ b/indenters/examples/example.py
diff --git a/indenters/__TODO/example.rb b/indenters/examples/example.rb
index 6117e5a..6117e5a 100755
--- a/indenters/__TODO/example.rb
+++ b/indenters/examples/example.rb
diff --git a/indenters/__TODO/example.sh b/indenters/examples/example.sh
index c2ac3f1..c2ac3f1 100755
--- a/indenters/__TODO/example.sh
+++ b/indenters/examples/example.sh
diff --git a/indenters/__TODO/example.sql b/indenters/examples/example.sql
index 077eeb8..077eeb8 100755
--- a/indenters/__TODO/example.sql
+++ b/indenters/examples/example.sql
diff --git a/indenters/__TODO/example.vb b/indenters/examples/example.vb
index 94adf39..94adf39 100755
--- a/indenters/__TODO/example.vb
+++ b/indenters/examples/example.vb
diff --git a/indenters/__TODO/example.xml b/indenters/examples/example.xml
index 1be9bed..1be9bed 100755
--- a/indenters/__TODO/example.xml
+++ b/indenters/examples/example.xml
diff --git a/indenters/__TODO/hindent b/indenters/examples/hindent
index dc71264..dc71264 100755
--- a/indenters/__TODO/hindent
+++ b/indenters/examples/hindent
diff --git a/indenters/__TODO/hindent.html b/indenters/examples/hindent.html
index e1a8012..e1a8012 100755
--- a/indenters/__TODO/hindent.html
+++ b/indenters/examples/hindent.html
diff --git a/indenters/__TODO/perltidy b/indenters/examples/perltidy
index 49ebe37..49ebe37 100755
--- a/indenters/__TODO/perltidy
+++ b/indenters/examples/perltidy
diff --git a/indenters/__TODO/phpStylist.php b/indenters/examples/phpStylist.php
index 4c8cbaf..4c8cbaf 100755
--- a/indenters/__TODO/phpStylist.php
+++ b/indenters/examples/phpStylist.php
diff --git a/indenters/__TODO/phpStylist.txt b/indenters/examples/phpStylist.txt
index 55b3cc5..55b3cc5 100755
--- a/indenters/__TODO/phpStylist.txt
+++ b/indenters/examples/phpStylist.txt
diff --git a/indenters/__TODO/pindent.py b/indenters/examples/pindent.py
index 1a627fc..1a627fc 100755
--- a/indenters/__TODO/pindent.py
+++ b/indenters/examples/pindent.py
diff --git a/indenters/__TODO/pindent.txt b/indenters/examples/pindent.txt
index 55ddefb..55ddefb 100755
--- a/indenters/__TODO/pindent.txt
+++ b/indenters/examples/pindent.txt
diff --git a/indenters/__TODO/rbeautify.rb b/indenters/examples/rbeautify.rb
index c4dbd67..c4dbd67 100755
--- a/indenters/__TODO/rbeautify.rb
+++ b/indenters/examples/rbeautify.rb
diff --git a/indenters/__TODO/ruby_formatter.rb b/indenters/examples/ruby_formatter.rb
index acd3150..acd3150 100755
--- a/indenters/__TODO/ruby_formatter.rb
+++ b/indenters/examples/ruby_formatter.rb
diff --git a/indenters/__TODO/shellindent.awk b/indenters/examples/shellindent.awk
index c02af04..c02af04 100755
--- a/indenters/__TODO/shellindent.awk
+++ b/indenters/examples/shellindent.awk