Skip to content

Commit 876d2a3

Browse files
committed
added configure script
1 parent b6c590e commit 876d2a3

File tree

209 files changed

+133
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+133
-76
lines changed

Doxyfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ HTML_DYNAMIC_SECTIONS = NO
6969
HTML_INDEX_NUM_ENTRIES = 100
7070
GENERATE_DOCSET = NO
7171
DOCSET_FEEDNAME = "Your Docset Feedname"
72-
DOCSET_BUNDLE_ID = kdesp73.databridge
73-
DOCSET_PUBLISHER_ID = kdesp73
72+
DOCSET_BUNDLE_ID = io.github.kdesp73.databridge
73+
DOCSET_PUBLISHER_ID = io.github.kdesp73
7474
DOCSET_PUBLISHER_NAME = "KDesp73"
7575
GENERATE_HTMLHELP = NO
7676
GENERATE_CHI = NO
7777
CHM_FILE =
7878
HHC_LOCATION =
7979
GENERATE_QHP = NO
8080
QCH_FILE =
81-
QHP_NAMESPACE = org.yourcompany.yourproject
81+
QHP_NAMESPACE = io.github.kdesp73
8282
QHP_VIRTUAL_FOLDER = doc
8383
QHG_LOCATION =
8484
GENERATE_ECLIPSEHELP = NO
85-
ECLIPSE_DOC_ID = org.yourcompany.yourproject
85+
ECLIPSE_DOC_ID = io.github.kdesp73
8686
DISABLE_INDEX = NO
8787
GENERATE_TREEVIEW = YES
8888
CLASS_DIAGRAMS = YES

configure

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#!/usr/bin/env bash
2+
3+
4+
docs() {
5+
rm -rf docs/
6+
mkdir -p docs
7+
doxygen
8+
mv -f docs/html/* docs
9+
rm -rf docs/html
10+
}
11+
12+
help() {
13+
cat <<EOF
14+
USAGE
15+
./configure <commands>
16+
17+
COMMANDS
18+
help Prints this message
19+
docs Generate documentation
20+
deploy Deploy library to Maven Central
21+
build Build the jar
22+
install Install locally
23+
EOF
24+
}
25+
26+
deploy() {
27+
mvn clean && mvn validate && mvn verify && mvn deploy
28+
}
29+
30+
build() {
31+
mvn clean package
32+
}
33+
34+
install() {
35+
mvn clean install
36+
}
37+
38+
if [ $# == 0 ]; then
39+
help
40+
exit 0
41+
fi
42+
43+
for arg in "$@"; do
44+
case "$arg" in
45+
"help") help ;;
46+
"docs") docs ;;
47+
"deploy") deploy ;;
48+
"build") build ;;
49+
"install") install ;;
50+
*)
51+
echo "Unknown command : " "$arg" 1>&2
52+
help
53+
exit 1
54+
esac
55+
done
56+
57+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<!-- start footer part -->
143143
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
144144
<ul>
145-
<li class="footer">Generated on Wed Nov 20 2024 00:55:55 for DataBridge Documentation by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
145+
<li class="footer">Generated on Wed Nov 20 2024 01:17:47 for DataBridge Documentation by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
146146
</ul>
147147
</div>
148148
</body>
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
<!-- start footer part -->
148148
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
149149
<ul>
150-
<li class="footer">Generated on Wed Nov 20 2024 00:55:55 for DataBridge Documentation by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
150+
<li class="footer">Generated on Wed Nov 20 2024 01:17:47 for DataBridge Documentation by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
151151
</ul>
152152
</div>
153153
</body>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)