From ffbfaeb7653d1e60795e15c7e7bbe55501c9fc09 Mon Sep 17 00:00:00 2001 From: ChrisBAshton Date: Wed, 29 May 2024 10:58:47 +0100 Subject: [PATCH] Delete unused Rakefile The build script has been replaced by https://github.com/alphagov/govuk-browser-extension/blob/9a5ae779e126b09fd303147d91c616c0fa527462/build.sh#L1 And the jasmine test script has been replaced by NPM: https://github.com/alphagov/govuk-browser-extension/blob/7913847c4aa8b366826ada973264798cdb113ed2/.github/workflows/ci.yml#L36-L37 The presence of the Rakefile is causing issues for our CodeQL integration, which is detecting Ruby but then failing to run the scan. --- Rakefile | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Rakefile diff --git a/Rakefile b/Rakefile deleted file mode 100644 index dcf3273..0000000 --- a/Rakefile +++ /dev/null @@ -1,13 +0,0 @@ -require 'json' -require 'jasmine' - -load 'jasmine/tasks/jasmine.rake' - -task :build do - puts "Building package" - manifest = JSON.parse(File.read("src/manifest.json")) - version = manifest['version'] - sh "cd src && zip -r ../build/govuk-browser-extension-#{version}.zip ." -end - -task :default => ['jasmine:ci']