Skip to content

Commit fb1c246

Browse files
author
Álvaro Justen aka Turicas
committed
Move start-dev-env to scripts and add 'make run'
It's a complement to #128
1 parent 57c79f0 commit fb1c246

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ clean:
3737
find -regex '.*\.pyc' -exec rm {} \;
3838
find -regex '.*~' -exec rm {} \;
3939

40+
run:
41+
@./scripts/start_development_environment.sh
4042

41-
.PHONY: test test-x doc clean test-workers
43+
44+
.PHONY: test test-x doc clean test-workers run

start_development_environment.sh scripts/start_development_environment.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
# You should have received a copy of the GNU General Public License
1818
# along with PyPLN. If not, see <http://www.gnu.org/licenses/>.
1919

20-
SCRIPT_PATH=$(dirname $(readlink -f $0))
21-
echo "$SCRIPT_PATH"
20+
SCRIPT_PATH=$(dirname $(readlink -f $0))/../ # get parent directory
2221

2322
# Adding the current directory to PYTHONPATH, the broker will be able to import
2423
# pypln.backend even if the package is not installed

0 commit comments

Comments
 (0)