#!/usr/bin/env zsh # # Jaro Web, your slick and static website publisher # # Copyleft (C) 2012 Denis Roio # # This source code is free software; you can redistribute it and/or # modify it under the terms of the GNU Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This source code is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # Please refer to the GNU Public License for more details. # # You should have received a copy of the GNU Public License along with # this source code; if not, write to: # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. mkdir views cat < views/index.html

Hello world

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

EOF mkdir tmpl car < tmpl/header EOF cat < tmpl/footer.html
All information found on this page is free to copy
Website made in HTML5
using Jaro Web
               
EOF cat < tmpl/header.html
EOF notice "Downloading and installing Bootstrap" curl http://twitter.github.com/bootstrap/assets/bootstrap.zip -o bootstrap.zip unzip bootstrap.zip mv bootstrap/css views/ mv bootstrap/js views/ mv bootstrap/img views/ rm -rf bootstrap bootstrap.zip act "Bootstrap installed" cat < Makefile all: @./jaroweb/render clean: rm -rf pub upload: @scp -r pub/.htaccess pub/* online.server.org:/var/www