You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd "$(dirname $0)"
|
|
|
|
|
|
|
|
if [[ -z "$(which docker)" ]]; then
|
|
|
|
echo "Please install Docker from https://www.docker.com"
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cmd="docker run --rm -v "$(pwd):/opt/wappalyzer" -it wappalyzer/dev"
|
|
|
|
|
|
|
|
$cmd sh -c "\
|
|
|
|
npm i; \
|
|
|
|
npm shrinkwrap; \
|
|
|
|
cd src/drivers/webextension; \
|
|
|
|
npm i; \
|
|
|
|
npm shrinkwrap; \
|
|
|
|
cd ../npm; \
|
|
|
|
npm i; \
|
|
|
|
npm shrinkwrap"
|
|
|
|
|
|
|
|
$cmd sh -c "cat patches/*.patch | patch -p0"
|
|
|
|
|
|
|
|
$cmd ./bin/run links
|
|
|
|
$cmd ./bin/run $@
|