diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 25 | ||||
-rw-r--r-- | Makefile.bat | 9 |
2 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..644acbb --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# This file is part of EAS-4-TbSync. +# +# 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/. + +PACKAGE_NAME=EAS-4-TbSync + +ARCHIVE_NAME=$(PACKAGE_NAME).xpi + +PACKAGE_FILES= \ + content \ + _locales \ + manifest.json \ + CONTRIBUTORS.md \ + LICENSE README.md \ + background.js + +all: clean $(PACKAGE_FILES) + zip -r $(ARCHIVE_NAME) $(PACKAGE_FILES) + +clean: + rm -f $(ARCHIVE_NAME) + +.PHONY: clean diff --git a/Makefile.bat b/Makefile.bat new file mode 100644 index 0000000..e397e83 --- /dev/null +++ b/Makefile.bat @@ -0,0 +1,9 @@ +@echo off +REM This file is part of EAS-4-TbSync. +REM +REM This Source Code Form is subject to the terms of the Mozilla Public +REM License, v. 2.0. If a copy of the MPL was not distributed with this +REM file, You can obtain one at http://mozilla.org/MPL/2.0/. + +del EAS-4-TbSync.xpi +"C:\Program Files\7-Zip\7zG.exe" a -tzip EAS-4-TbSync.xpi content _locales manifest.json CONTRIBUTORS.md LICENSE README.md background.js |