Add documentation to script (#1692)

This commit is contained in:
David Holdeman 2020-08-14 07:51:47 -05:00 committed by GitHub
parent 6e81cc9057
commit 156e67a1b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
#####################################################################################
# generate_diffs.sh #
# 08/13/2020 #
# Written By David Holdeman #
# Checks for changed .kicad_pcb files, generates visual diffs, and uploads them #
# to FTP. #
#####################################################################################
# The FTP location this uploads to is /diffs/plot_<name of kicad_pcb file, without the extension>
# In that directory are subdirectorys containing generated SVGs, as well as a 'web' subdirectory,
# which contains index.html. Open that in a web browser and you get a nice visual diff of each layer.
#!/bin/bash
function gendiffs() {