Skip to content

Commit b8fe81f

Browse files
committed
Create build directory unless it exists or clear it
1 parent 93de311 commit b8fe81f

4 files changed

Lines changed: 12 additions & 32 deletions

File tree

build-example.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if [ ! -d build ];then
2+
mkdir build
3+
else
4+
rm -rf build/*
5+
fi
6+
17
cd build
28
qmake ../example/qhexedit.pro
39
make

build-example.sh.autosave

Lines changed: 0 additions & 10 deletions
This file was deleted.

build-python-bindings.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if [ ! -d build ];then
2+
mkdir build
3+
else
4+
rm -rf build/*
5+
fi
6+
17
cd build
28

39
# for Qt4 use qt4-qmake

build-python-bindings.sh.autosave

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)