Skip to content

Commit

Permalink
Squash merge cyfrinup/match-master into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
TilakMaddy committed Mar 7, 2025
1 parent b2e2ee5 commit 798bf95
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 158 deletions.
54 changes: 0 additions & 54 deletions cyfrinup/cyfrinup

This file was deleted.

24 changes: 4 additions & 20 deletions cyfrinup/dynamic_script
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
#!/usr/bin/env bash
set -e

DYNAMIC_SCRIPT_URL="https://raw.githubusercontent.com/Cyfrin/up/main/dynamic_script"

# Keep it minimal
main() {
need_cmd curl

say "installing latest aderyn"

ensure curl --proto '=https' --tlsv1.2 -LsSf https://github.com/cyfrin/aderyn/releases/latest/download/aderyn-installer.sh | bash
rm -f ~/.cyfrin/bin/aderyn

say "done!"
}

say() {
printf 'cyfrinup: %s\n' "$1"
}

warn() {
say "warning: ${1}" >&2
}

err() {
say "$1" >&2
exit 1
ensure curl -L "$DYNAMIC_SCRIPT_URL" | bash
}

need_cmd() {
Expand Down
84 changes: 0 additions & 84 deletions cyfrinup/install

This file was deleted.

10 changes: 10 additions & 0 deletions cyfrinup/why.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Why does this file dynamic_script exist ?

* To support existing cyfrinup users (The ones who installed cyfrinup from aderyn)
* The new way to install cyfrinup is from https://github.com/Cyfrin/up

* Don't change the location (cyfrinup/dynamic_script)
* Don't delete this branch (master branch)
* Don't rename this branch (master branch)

IMPORTANT

0 comments on commit 798bf95

Please sign in to comment.