Updated as described in doc/contributing/maintaining-zlib.md. PR-URL: https://github.com/nodejs/node/pull/45387 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
17 lines
439 B
Bash
Executable file
17 lines
439 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Copyright 2011 The Chromium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Run this script in its directory to recreate test.zip, test_nocompress.zip,
|
|
# and test_encrypted.zip
|
|
|
|
rm test.zip
|
|
rm test_nocompress.zip
|
|
rm test_encrypted.zip
|
|
pushd test
|
|
zip -r ../test.zip .
|
|
zip -r -0 ../test_nocompress.zip .
|
|
zip -P "fake_password" -r ../test_encrypted.zip .
|
|
popd
|