Skip to content

Commit

Permalink
cyfrinup
Browse files Browse the repository at this point in the history
  • Loading branch information
TilakMaddy committed Mar 6, 2025
1 parent e510a8f commit ee250e0
Show file tree
Hide file tree
Showing 4 changed files with 13 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.

9 changes: 9 additions & 0 deletions cyfrinup/why.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
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
* Don't delete this branch
* Don't rename this branch

IMPORTANT

0 comments on commit ee250e0

Please sign in to comment.