|
My Software > WebMakeWebMake is a simple bash script designed to make designing and then potentially redesigning static webpages to be simple. Use whatever editor you want, whatever design you want, and use macros to process source files into templates. WebMake also comes with the ability to auto-optimize PNG, GIF, and JPEG images, as well as re-encode media files. I provide no support or warranty for using this script. This is all on YOU, so be sure to backup your files in case of a mess up. If you face issues, you may email me (located on my About). Download
DocumentationWebMake v5 by Wirlaburla options: -h, --help Show this output. --init Initialize new project in PROJECTDIR. --make Builds and generates project output. -c, --clean Clean project output directory. -E, --re-encode Re-encode media files with FFMPEG. -o, --overwrite Overwrite files in output directory. -O, --optimize Optimize PNG, GIF, and JPEG images. -P, --process-only Process content files only. Ignores options 'overwrite' and 'optimize'. -p=<path>, --project=<path> Use defined project directory. (default is "$PWD") -x=<paths>, --exclude=<paths> Exclude paths from make. Separator is ':'. (defualt is ) example: webmake <options> Initializing a projectWebMake will default to using your current working directory unless webmake --init
The Writing a projectThe basis for WebMake is its template and content files. TemplatesTemplates always go into the An example of a template file named Content filesContent files are formatted files containing sections that will replace macros in their defined template. The template they use is always on the first line of the file, with anything after the new-line being defined sections. Content files always use the extension An example of a content file named Making a projectIf you simply want to process your entire project without any additional options, the Optimizing PNG, GIF, and JPEG
webmake --make -O
Re-encoding media fileswebmake --make -E
Processing and outputting only content fileswebmake --make --clean -P
ModifyingContributions are allowed an encouraged, although selective. You may contact me with your own edits if you wish for them to be released here in a new version. If you modify any version of this script, please be sure to include attributions to me and anyone else before releasing it on your own. SupportIf you want to show support for this simple tool, please throw a link to here somewhere on your own site. I greatly appreciate it. |