handling images in build script better now

This commit is contained in:
shockrahwow 2019-01-01 23:16:50 -08:00
parent 79bb05fd06
commit 2432c6281a

View File

@ -20,6 +20,9 @@ page() {
done done
} }
img() {
cp -r img/ "$rootDir/img/"
}
style() { style() {
# Updating index style # Updating index style
cp style.css $rootDir/style.css cp style.css $rootDir/style.css
@ -47,7 +50,7 @@ yeet() {
init() { init() {
mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/" mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/"
cp ./img/* "$rootDir/img/" cp -r img/ "$rootDir"
cp ./fonts/* "$rootDir/fonts/" cp ./fonts/* "$rootDir/fonts/"
post post