#! /bin/bash

# Cleanup folder
rm -rf _assets

# Recreate folder
mkdir -p _assets/website/
mkdir -p _assets/ebook/

# Compile Website CSS
lessc -clean-css src/less/website.less _assets/website/style.css
cp -r src/assets/* _assets/website/

# Compile eBook CSS
lessc -clean-css src/less/ebook.less _assets/ebook/ebook.css

# Copy styleguide
mkdir -p _assets/website

cp -Rf _layouts/website/images/ _assets/website/images
