diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:12:17 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:12:17 +0200 |
commit | f1ab2f022fdc780aca0944d90e9a0e844a0820d7 (patch) | |
tree | 79942a40514f5ab40c5901349c9fcd30c6c8dc0e /vendor/paragonie/sodium_compat/dist | |
parent | 2024-02-19 upstream (diff) | |
download | 1ka-master.tar 1ka-master.tar.gz 1ka-master.tar.bz2 1ka-master.tar.lz 1ka-master.tar.xz 1ka-master.tar.zst 1ka-master.zip |
Diffstat (limited to 'vendor/paragonie/sodium_compat/dist')
-rw-r--r-- | vendor/paragonie/sodium_compat/dist/Makefile | 39 | ||||
-rw-r--r-- | vendor/paragonie/sodium_compat/dist/box.json | 32 |
2 files changed, 0 insertions, 71 deletions
diff --git a/vendor/paragonie/sodium_compat/dist/Makefile b/vendor/paragonie/sodium_compat/dist/Makefile deleted file mode 100644 index f30a25d..0000000 --- a/vendor/paragonie/sodium_compat/dist/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# This builds sodium-compat.phar. To run this Makefile, `box` and `composer` -# must be installed and in your $PATH. Run it from inside the dist/ directory. - -box := $(shell which box) -composer := "composer" -gitcommit := $(shell git rev-parse HEAD) - -.PHONY: all -all: build-phar - -.PHONY: sign-phar -sign-phar: - gpg -u 7F52D5C61D1255C731362E826B97A1C2826404DA --armor --output sodium-compat.phar.sig --detach-sig sodium-compat.phar - -# ensure we run in clean tree. export git tree and run there. -.PHONY: build-phar -build-phar: - @echo "Creating .phar from revision $(shell git rev-parse HEAD)." - rm -rf worktree - install -d worktree - (cd $(CURDIR)/..; git archive HEAD) | tar -x -C worktree - $(MAKE) -f $(CURDIR)/Makefile -C worktree sodium-compat.phar - mv worktree/*.phar . - rm -rf worktree - -.PHONY: clean -clean: - rm -vf sodium-compat.phar sodium-compat.phar.sig - -# Inside workdir/: - -sodium-compat.phar: dist/box.json composer.lock - cp dist/box.json . - php -d phar.readonly=0 $(box) build -c box.json -v - -composer.lock: - $(composer) config autoloader-suffix $(gitcommit) - $(composer) install --no-dev - diff --git a/vendor/paragonie/sodium_compat/dist/box.json b/vendor/paragonie/sodium_compat/dist/box.json deleted file mode 100644 index 5f7827e..0000000 --- a/vendor/paragonie/sodium_compat/dist/box.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "chmod": "0755", - "finder": [ - { - "in": "", - "name": "autoload.php" - }, - { - "in": "src", - "name": "*.php" - }, - { - "in": "lib", - "name": "*.php" - }, - { - "in": "vendor/composer", - "name": "*.php" - }, - { - "in": "vendor/paragonie", - "name": "*.php" - } - ], - "compactors": [ - "Herrera\\Box\\Compactor\\Php" - ], - "main": "vendor/autoload.php", - "output": "sodium-compat.phar", - "shebang": false, - "stub": true -} |