Skip to content

Commit 67290ff

Browse files
authored
Merge pull request #44 from mekanix/feature/project-init
Initialize the project in new directory
2 parents 23a2c53 + d46dba1 commit 67290ff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bin/freenit.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
set -e
4+
35

46
NAME="${1}"
57
if [ -z "${NAME}" ]; then
@@ -11,6 +13,8 @@ fi
1113
PROJECT_ROOT=`python${PY_VERSION} -c 'import os; import freenit; print(os.path.dirname(os.path.abspath(freenit.__file__)))'`
1214

1315

16+
mkdir ${NAME}
17+
cd ${NAME}
1418
echo 'freenit' >requirements.txt
1519
cp -r ${PROJECT_ROOT}/project/* .
1620
mv project ${NAME}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='freenit',
12-
version='0.0.31',
12+
version='0.0.32',
1313
description='REST API framework based on Flask-Smorest',
1414
long_description=README,
1515
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)