Skip to content

Commit

Permalink
update all existing file changes in views (no more --ignore-existing)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Feb 8, 2016
1 parent 66c4da7 commit bbb124f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions render
Expand Up @@ -413,6 +413,13 @@ mkdir -p "$destination/img"



# copy to destination all subdirs in views/
act -n "publishing all $B views $r ... "
rsync -a -W "$DIR/views/" "${destination}/"
# make sure that new css styles are updated
[[ -r "$DIR/views/css/custom.css" ]] && {
cp -f "$DIR/views/css/custom.css" "${destination}/css/" }



# prepare all fonts
Expand Down Expand Up @@ -549,13 +556,6 @@ idxs+=(`find views -type f -name '*.index'`)
done
}

# copy to destination all subdirs in views/
act -n "publishing all $B views $r ... "
rsync -a -W --ignore-existing "$DIR/views/" "${destination}/"
# make sure that new css styles are updated
[[ -r "$DIR/views/css/custom.css" ]] && {
cp -f "$DIR/views/css/custom.css" "${destination}/css/" }

# Here all files are copied inside the destination
# we can run special operations on file-types and overwrite them now
# for instance edit EXIF information on images etc.
Expand Down

0 comments on commit bbb124f

Please sign in to comment.