Skip to content

Commit

Permalink
Add tooling support for posters
Browse files Browse the repository at this point in the history
  • Loading branch information
kernhanda committed Sep 27, 2016
1 parent 259b8a7 commit ec15390
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _tools/add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fi
FILE="$1"

SESSION=""
while [[ ! "$SESSION" =~ ^[pkltd]$ ]]; do
read -p "[P]resentation, [K]eynote, [T]utorial, [L]ighting/Lunch, [D]emo? " SESSION
while [[ ! "$SESSION" =~ ^[pkltdo]$ ]]; do
read -p "[P]resentation, [K]eynote, [T]utorial, [L]ighting/Lunch, [D]emo, P[o]ster? " SESSION
SESSION=`echo $SESSION | tr '[:upper:]' '[:lower:]'`
done

Expand All @@ -33,6 +33,9 @@ elif [ $SESSION = t ] ; then
elif [ $SESSION = d ] ; then
FOLDER="Demos"
TYPE="Demo"
elif [ $SESSION = o ] ; then
FOLDER="Posters"
TYPE="Poster"
fi

FILENAME=`basename "$FILE"`
Expand Down
1 change: 1 addition & 0 deletions _tools/make_README.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ add_index "Presentations"
add_index "Tutorials"
add_index "Demos"
add_index "Lightning Talks and Lunch Sessions"
add_index "Posters"

0 comments on commit ec15390

Please sign in to comment.