From 33221469581c743ff1449d9f3335c03fbe068b31 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 23 May 2023 17:46:19 +0200 Subject: [PATCH] Added scripts to install hooks --- gerbers/ublox-lea-6h-breakout-B_Cu.gbl | 4 ++-- gerbers/ublox-lea-6h-breakout-B_Mask.gbs | 4 ++-- gerbers/ublox-lea-6h-breakout-B_Paste.gbp | 4 ++-- .../ublox-lea-6h-breakout-B_Silkscreen.gbo | 4 ++-- gerbers/ublox-lea-6h-breakout-Edge_Cuts.gm1 | 4 ++-- gerbers/ublox-lea-6h-breakout-F_Cu.gtl | 4 ++-- gerbers/ublox-lea-6h-breakout-F_Mask.gts | 4 ++-- gerbers/ublox-lea-6h-breakout-F_Paste.gtp | 4 ++-- .../ublox-lea-6h-breakout-F_Silkscreen.gto | 4 ++-- gerbers/ublox-lea-6h-breakout-job.gbrjob | 2 +- gerbers/ublox-lea-6h-breakout.drl | 4 ++-- scripts/install-hook.sh | 6 ++++++ scripts/pre-commit.hook | 13 +++++++++++++ ublox-lea-6h-breakout.pdf | Bin 214373 -> 214373 bytes 14 files changed, 40 insertions(+), 21 deletions(-) create mode 100755 scripts/install-hook.sh create mode 100755 scripts/pre-commit.hook diff --git a/gerbers/ublox-lea-6h-breakout-B_Cu.gbl b/gerbers/ublox-lea-6h-breakout-B_Cu.gbl index d213304..de03d53 100644 --- a/gerbers/ublox-lea-6h-breakout-B_Cu.gbl +++ b/gerbers/ublox-lea-6h-breakout-B_Cu.gbl @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Copper,L2,Bot*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-B_Mask.gbs b/gerbers/ublox-lea-6h-breakout-B_Mask.gbs index 477ccd7..f869928 100644 --- a/gerbers/ublox-lea-6h-breakout-B_Mask.gbs +++ b/gerbers/ublox-lea-6h-breakout-B_Mask.gbs @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Soldermask,Bot*% %TF.FilePolarity,Negative*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-B_Paste.gbp b/gerbers/ublox-lea-6h-breakout-B_Paste.gbp index a594298..bcdd31d 100644 --- a/gerbers/ublox-lea-6h-breakout-B_Paste.gbp +++ b/gerbers/ublox-lea-6h-breakout-B_Paste.gbp @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Paste,Bot*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-B_Silkscreen.gbo b/gerbers/ublox-lea-6h-breakout-B_Silkscreen.gbo index 9b6436c..5e3849e 100644 --- a/gerbers/ublox-lea-6h-breakout-B_Silkscreen.gbo +++ b/gerbers/ublox-lea-6h-breakout-B_Silkscreen.gbo @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Legend,Bot*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-Edge_Cuts.gm1 b/gerbers/ublox-lea-6h-breakout-Edge_Cuts.gm1 index 5ffe580..f4c42fc 100644 --- a/gerbers/ublox-lea-6h-breakout-Edge_Cuts.gm1 +++ b/gerbers/ublox-lea-6h-breakout-Edge_Cuts.gm1 @@ -1,11 +1,11 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Profile,NP*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-F_Cu.gtl b/gerbers/ublox-lea-6h-breakout-F_Cu.gtl index 580f871..4aa8342 100644 --- a/gerbers/ublox-lea-6h-breakout-F_Cu.gtl +++ b/gerbers/ublox-lea-6h-breakout-F_Cu.gtl @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Copper,L1,Top*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-F_Mask.gts b/gerbers/ublox-lea-6h-breakout-F_Mask.gts index fa638a9..95846a5 100644 --- a/gerbers/ublox-lea-6h-breakout-F_Mask.gts +++ b/gerbers/ublox-lea-6h-breakout-F_Mask.gts @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Soldermask,Top*% %TF.FilePolarity,Negative*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-F_Paste.gtp b/gerbers/ublox-lea-6h-breakout-F_Paste.gtp index 36acefa..176fff8 100644 --- a/gerbers/ublox-lea-6h-breakout-F_Paste.gtp +++ b/gerbers/ublox-lea-6h-breakout-F_Paste.gtp @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Paste,Top*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-F_Silkscreen.gto b/gerbers/ublox-lea-6h-breakout-F_Silkscreen.gto index 8df0d47..ff69dec 100644 --- a/gerbers/ublox-lea-6h-breakout-F_Silkscreen.gto +++ b/gerbers/ublox-lea-6h-breakout-F_Silkscreen.gto @@ -1,12 +1,12 @@ %TF.GenerationSoftware,KiCad,Pcbnew,7.0.1*% -%TF.CreationDate,2023-05-21T20:13:53+02:00*% +%TF.CreationDate,2023-05-23T17:46:20+02:00*% %TF.ProjectId,ublox-lea-6h-breakout,75626c6f-782d-46c6-9561-2d36682d6272,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Legend,Top*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* -G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-21 20:13:53* +G04 Created by KiCad (PCBNEW 7.0.1) date 2023-05-23 17:46:20* %MOMM*% %LPD*% G01* diff --git a/gerbers/ublox-lea-6h-breakout-job.gbrjob b/gerbers/ublox-lea-6h-breakout-job.gbrjob index 2dacfe7..11ba223 100644 --- a/gerbers/ublox-lea-6h-breakout-job.gbrjob +++ b/gerbers/ublox-lea-6h-breakout-job.gbrjob @@ -5,7 +5,7 @@ "Application": "Pcbnew", "Version": "7.0.1" }, - "CreationDate": "2023-05-21T20:13:53+02:00" + "CreationDate": "2023-05-23T17:46:20+02:00" }, "GeneralSpecs": { "ProjectId": { diff --git a/gerbers/ublox-lea-6h-breakout.drl b/gerbers/ublox-lea-6h-breakout.drl index f93f162..a360102 100644 --- a/gerbers/ublox-lea-6h-breakout.drl +++ b/gerbers/ublox-lea-6h-breakout.drl @@ -1,7 +1,7 @@ M48 -; DRILL file {KiCad 7.0.1} date So 21 Mai 2023 20:13:53 CEST +; DRILL file {KiCad 7.0.1} date Di 23 Mai 2023 17:46:20 CEST ; FORMAT={-:-/ absolute / inch / decimal} -; #@! TF.CreationDate,2023-05-21T20:13:53+02:00 +; #@! TF.CreationDate,2023-05-23T17:46:20+02:00 ; #@! TF.GenerationSoftware,Kicad,Pcbnew,7.0.1 ; #@! TF.FileFunction,MixedPlating,1,2 FMAT,2 diff --git a/scripts/install-hook.sh b/scripts/install-hook.sh new file mode 100755 index 0000000..deaf574 --- /dev/null +++ b/scripts/install-hook.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e + +cp ./pre-commit.hook ../.git/hooks/pre-commit +chmod +x ../.git/hooks/pre-commit diff --git a/scripts/pre-commit.hook b/scripts/pre-commit.hook new file mode 100755 index 0000000..13650c8 --- /dev/null +++ b/scripts/pre-commit.hook @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +kicad-cli sch export pdf ublox-lea-6h-breakout.kicad_sch +git add ublox-lea-6h-breakout.pdf + +mkdir -p gerbers +kicad-cli pcb export gerbers -o gerbers/ \ + -l "F.Cu,B.Cu,Edge.Cuts,F.Mask,B.Mask,F.Paste,B.Paste,F.SilkS,B.SilkS" \ + ublox-lea-6h-breakout.kicad_pcb +kicad-cli pcb export drill -o gerbers/ ublox-lea-6h-breakout.kicad_pcb +git add gerbers \ No newline at end of file diff --git a/ublox-lea-6h-breakout.pdf b/ublox-lea-6h-breakout.pdf index 3adef409e760a346b1d3fc28cbd0850d9319c820..05e1d74d822545b7060f6f2f7cd7a35c4cbac0ab 100644 GIT binary patch delta 29 kcmaFb#rw32x1oixg=q^jj~u(Pp}C2fq2+dAIp!dB0F~7UKL7v# delta 29 kcmaFb#rw32x1oixg=q^jj~u(9k%6JHsquDUIp!dB0F^fgF8}}l