From 582d4cf8703c842737825f56128da348c1a40c1f Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Wed, 8 Jan 2025 18:33:07 -0600 Subject: [PATCH] Rename Hack samples to .hack extension --- .gitattributes | 3 --- .github/workflows/codeql-analysis.yml | 4 ---- archive/h/hack/{baklava.hh => baklava.hack} | 0 archive/h/hack/{hello-world.hh => hello-world.hack} | 0 archive/h/hack/testinfo.yml | 2 +- 5 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .gitattributes rename archive/h/hack/{baklava.hh => baklava.hack} (100%) rename archive/h/hack/{hello-world.hh => hello-world.hack} (100%) diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index ed443fdc7..000000000 --- a/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -archive/h/hack/* linguist-language=Hack -*.yml linguist-language=YAML -*.md linguist-documentation diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index df64e196b..d66b67103 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -116,10 +116,6 @@ jobs: if: ${{ github.event_name == 'pull_request' }} run: rm -f ${{ matrix.paths-ignore }} - - name: Remove Hack if C++ - if: ${{ matrix.language == 'cpp' }} - run: rm -rf archive/h/hack - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/archive/h/hack/baklava.hh b/archive/h/hack/baklava.hack similarity index 100% rename from archive/h/hack/baklava.hh rename to archive/h/hack/baklava.hack diff --git a/archive/h/hack/hello-world.hh b/archive/h/hack/hello-world.hack similarity index 100% rename from archive/h/hack/hello-world.hh rename to archive/h/hack/hello-world.hack diff --git a/archive/h/hack/testinfo.yml b/archive/h/hack/testinfo.yml index c86d4fbf6..5610d6e80 100644 --- a/archive/h/hack/testinfo.yml +++ b/archive/h/hack/testinfo.yml @@ -1,5 +1,5 @@ folder: - extension: ".hh" + extension: ".hack" naming: "hyphen" container: