From ac46df8daea09899ce30dc8fd70986e258c746bf Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 9 Feb 2018 06:46:43 -0500 Subject: Move Add-on SDK source to toolkit/jetpack --- addon-sdk/source/test/fixtures/create_xpi.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 addon-sdk/source/test/fixtures/create_xpi.py (limited to 'addon-sdk/source/test/fixtures/create_xpi.py') diff --git a/addon-sdk/source/test/fixtures/create_xpi.py b/addon-sdk/source/test/fixtures/create_xpi.py deleted file mode 100644 index ed0f983d9..000000000 --- a/addon-sdk/source/test/fixtures/create_xpi.py +++ /dev/null @@ -1,15 +0,0 @@ -# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- -# vim: set filetype=python: -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -from os.path import abspath - -# TODO replace this script with a direct Python action invocation -from mozbuild.action.zip import main as create_zip - -def main(output, input_dir): - output.close() - - return create_zip(['-C', input_dir, abspath(output.name), '**']) -- cgit v1.2.3