Skip to content

Commit

Permalink
Allow self build
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Jardine committed Feb 25, 2018
1 parent c92b49e commit 6417c5c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions make.sh
@@ -1,7 +1,20 @@
#!/bin/sh

OUT_DIR=$1
DEBUG=$2
DT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../.."
if [ "$1" = "debug" ]; then
DEBUG="debug"
else
OUT_DIR=$1
DEBUG=$2
fi

# If not run from DataTables build script, redirect to there
if [ -z "$DT_BUILD" ]; then
cd $DT_DIR/build
./make.sh extension ColReorder $DEBUG
cd -
exit
fi

# Change into script's own dir
cd $(dirname $0)
Expand Down

0 comments on commit 6417c5c

Please sign in to comment.