Skip to content

Commit

Permalink
Move scripts to script/
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Sep 9, 2018
1 parent c94d997 commit 22c48e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions script/build
Expand Up @@ -40,8 +40,8 @@ for file in **/Home.md; do
mv "$file" "$(dirname "$file")/index.md"
done

./add-front-matter.rb ms/** smokey/** &
./create-data-files.rb &
script/add-front-matter.rb ms/** smokey/** &
script/create-data-files.rb &
wait

git -C ./ms log -1 --pretty="MS wiki commit: [%h] %s"
Expand Down
File renamed without changes.
7 changes: 3 additions & 4 deletions script/install
@@ -1,16 +1,15 @@
#!/bin/bash

for i in "$@"
do
case $i in
while [ $# -ne 0 ]; do
case $1 in
--deploy)
DEPLOY=YES
shift # past argument with no value
;;
*)
# unknown option
;;
esac
shift
done

if [[ $DEPLOY ]]; then
Expand Down

0 comments on commit 22c48e5

Please sign in to comment.