From 1131a1bbfd35ffd3cd399a010115040dc13bb3f9 Mon Sep 17 00:00:00 2001 From: Roberto Arista Date: Thu, 29 Feb 2024 10:32:45 +0100 Subject: [PATCH 1/3] unpack extension and add github action --- .github/workflows/validate_build.yml | 10 ++++++ KerningChecker.roboFontExt/info.plist | 35 ------------------- LICENSE | 21 ----------- build.yaml | 23 ++++++++++++ info.yaml | 11 ++++++ .../lib/getKerningPairsFromOTF.py | 0 .../lib/getKerningPairsFromUFO.py | 0 .../lib/kerningChecker.py | 0 8 files changed, 44 insertions(+), 56 deletions(-) create mode 100644 .github/workflows/validate_build.yml delete mode 100644 KerningChecker.roboFontExt/info.plist delete mode 100644 LICENSE create mode 100644 build.yaml create mode 100644 info.yaml rename {KerningChecker.roboFontExt => source}/lib/getKerningPairsFromOTF.py (100%) rename {KerningChecker.roboFontExt => source}/lib/getKerningPairsFromUFO.py (100%) rename {KerningChecker.roboFontExt => source}/lib/kerningChecker.py (100%) diff --git a/.github/workflows/validate_build.yml b/.github/workflows/validate_build.yml new file mode 100644 index 0000000..22316d2 --- /dev/null +++ b/.github/workflows/validate_build.yml @@ -0,0 +1,10 @@ +name: Validate and Build the Extension +on: + push + +jobs: + validate_and_build: + runs-on: ubuntu-latest + steps: + - name: Validate and Build + uses: typemytype/roboFont-Extension-action@v0.1.0 diff --git a/KerningChecker.roboFontExt/info.plist b/KerningChecker.roboFontExt/info.plist deleted file mode 100644 index 81f6d9a..0000000 --- a/KerningChecker.roboFontExt/info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - addToMenu - - developer - TypeMyType - developerURL - http://typemytype.com - html - - launchAtStartUp - 1 - mainScript - kerningChecker.py - name - KerningChecker - requiresVersionMajor - 1 - requiresVersionMinor - 6 - timeStamp - 1598965344.684863 - version - 1.3 - com.robofontmechanic.Mechanic - - repository - typemytype/kerningCheckerRoboFontExtension - summary - Checks kerning in the UFO file and compares it with the generated binary file (otf, ttf only). - - - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index b84074f..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Frederik Berlaen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/build.yaml b/build.yaml new file mode 100644 index 0000000..10eb400 --- /dev/null +++ b/build.yaml @@ -0,0 +1,23 @@ +libFolder: source/lib +license: | + The MIT License (MIT) + + Copyright (c) 2016 Frederik Berlaen + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/info.yaml b/info.yaml new file mode 100644 index 0000000..be8b147 --- /dev/null +++ b/info.yaml @@ -0,0 +1,11 @@ +name: KerningChecker +developer: TypeMyType +developerURL: http://typemytype.com +launchAtStartUp: true +mainScript: kerningChecker.py +version: '1.3' +addToMenu: [] +html: false +timeStamp: 1598965344.684863 +requiresVersionMajor: '1' +requiresVersionMinor: '6' diff --git a/KerningChecker.roboFontExt/lib/getKerningPairsFromOTF.py b/source/lib/getKerningPairsFromOTF.py similarity index 100% rename from KerningChecker.roboFontExt/lib/getKerningPairsFromOTF.py rename to source/lib/getKerningPairsFromOTF.py diff --git a/KerningChecker.roboFontExt/lib/getKerningPairsFromUFO.py b/source/lib/getKerningPairsFromUFO.py similarity index 100% rename from KerningChecker.roboFontExt/lib/getKerningPairsFromUFO.py rename to source/lib/getKerningPairsFromUFO.py diff --git a/KerningChecker.roboFontExt/lib/kerningChecker.py b/source/lib/kerningChecker.py similarity index 100% rename from KerningChecker.roboFontExt/lib/kerningChecker.py rename to source/lib/kerningChecker.py From c4f5e17e82e158cf485fea07fb842ec8eb0d071d Mon Sep 17 00:00:00 2001 From: Roberto Arista Date: Fri, 8 Mar 2024 09:04:46 +0100 Subject: [PATCH 2/3] remove timestamp --- info.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/info.yaml b/info.yaml index be8b147..71e58e8 100644 --- a/info.yaml +++ b/info.yaml @@ -6,6 +6,5 @@ mainScript: kerningChecker.py version: '1.3' addToMenu: [] html: false -timeStamp: 1598965344.684863 requiresVersionMajor: '1' requiresVersionMinor: '6' From 6245774c62706529f5b5a2e4b5008a809e068976 Mon Sep 17 00:00:00 2001 From: Roberto Arista Date: Wed, 20 Mar 2024 16:41:26 +0100 Subject: [PATCH 3/3] set autotagging to true --- .github/workflows/validate_build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validate_build.yml b/.github/workflows/validate_build.yml index 22316d2..98b0634 100644 --- a/.github/workflows/validate_build.yml +++ b/.github/workflows/validate_build.yml @@ -8,3 +8,5 @@ jobs: steps: - name: Validate and Build uses: typemytype/roboFont-Extension-action@v0.1.0 + with: + autotagging: true \ No newline at end of file