Skip to content

Commit

Permalink
Update webExt package
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf committed Oct 24, 2024
1 parent 037a804 commit 4d81c98
Show file tree
Hide file tree
Showing 4 changed files with 2,116 additions and 2,255 deletions.
20 changes: 1 addition & 19 deletions bin/addons-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,9 @@

. $(dirname $0)/commons.sh

TMPDIR=/tmp/MAC_addonsLinter

print Y "Update the submodules..."
git submodule init || die
git submodule update --remote --depth 1 src/_locales || die

printn Y "Removing previous execution data... "
rm -rf $TMPDIR || die
print G "done."

printn Y "Creating a tmp folder ($TMPDIR)... "
mkdir $TMPDIR || die
print G "done."

printn Y "Copying data... "
cp -r src $TMPDIR || die
print G "done."

printn Y "Removing the github folder... "
rm -rf $TMPDIR/src/_locales/.github || die
print G "done."

print Y "Running the test..."
npx addons-linter $TMPDIR/src || die
npx addons-linter ./src || die
Loading

0 comments on commit 4d81c98

Please sign in to comment.