#!/bin/sh

git clone https://github.com/qownnotes/md4c src/libraries/md4c
#cd src/libraries/md4c && git -c advice.detachedHead=false checkout c64ee9a && cd ../../..

git clone https://github.com/pbek/qt-piwik-tracker.git src/libraries/piwiktracker
#cd src/libraries/piwiktracker && git -c advice.detachedHead=false checkout e7ee1fa && cd ../../..

git clone https://github.com/qownnotes/QHotkey.git src/libraries/qhotkey
#cd src/libraries/qhotkey && git -c advice.detachedHead=false checkout 998c76c && cd ../../..

git clone https://github.com/pbek/qkeysequencewidget src/libraries/qkeysequencewidget
#cd src/libraries/qkeysequencewidget && git -c advice.detachedHead=false checkout 8cbb54a && cd ../../..

git clone https://github.com/pbek/qmarkdowntextedit.git src/libraries/qmarkdowntextedit
#cd src/libraries/qmarkdowntextedit && git -c advice.detachedHead=false checkout c3c3c9e && cd ../../..

git clone https://github.com/pbek/qtcsv.git src/libraries/qtcsv
#cd src/libraries/qtcsv && git -c advice.detachedHead=false checkout ae15c33 && cd ../../..

git clone https://github.com/pbek/Qt-Toolbar-Editor.git src/libraries/qttoolbareditor
#cd src/libraries/qttoolbareditor && git -c advice.detachedHead=false checkout ca0728c && cd ../../..

#rm -rf .*
rm -rf src/libraries/qmarkdowntextedit/.*
rm -rf src/libraries/md4c/.*
rm -rf src/libraries/qtcsv/.*
rm -rf src/libraries/piwiktracker/.*
rm -rf src/libraries/qhotkey/.*
rm -rf src/libraries/qlitehtml/src/3rdparty/litehtml/.*
rm -rf src/libraries/qkeysequencewidget/.*
rm -rf src/libraries/qttoolbareditor/.*
