Skip to content

Commit

Permalink
move config venv to build directory (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattklein123 authored Aug 31, 2016
1 parent 6f61498 commit a9fbf89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/configgen.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

SCRIPT_DIR=`dirname $0`
BUILD_DIR=build/configgen
BUILD_DIR=$2/configgen
if [ ! -d $BUILD_DIR/venv ]; then
virtualenv $BUILD_DIR/venv
$BUILD_DIR/venv/bin/pip install -r $SCRIPT_DIR/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ target_link_libraries(envoy-test anl)
target_link_libraries(envoy-test dl)

add_custom_target(
envoy.generate_example_configs configs/configgen.sh generated/configs
envoy.generate_example_configs configs/configgen.sh generated/configs ${PROJECT_BINARY_DIR}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
)

Expand Down

0 comments on commit a9fbf89

Please sign in to comment.