Skip to content

Commit

Permalink
Merge branch 'main' of ssh://[email protected]/rxx/dev_sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rxx committed Mar 30, 2024
2 parents c3cb2d0 + 07db91f commit d316aee
Show file tree
Hide file tree
Showing 222 changed files with 638 additions and 459 deletions.
438 changes: 437 additions & 1 deletion .gitignore

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions bin/current.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/env bash

# Show usage if $1 is empty
if [[ -z "$1" ]]; then
echo "usage $0 <project path>"
exit 1
fi

if [[ ! -e "$1" && ! -d "$1" ]]; then
echo "$1 is invalid"
exit 1
fi

# Get the absolute path to the directory containing this script
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"

# Set the ROOT variable one level up from the script's location
ROOT="$(dirname "$SCRIPT_DIR")"

if [[ -L "$ROOT/current" ]]; then
rm current
fi

ln -s "$1" "$ROOT/current"

if [[ ! -e "$ROOT/current/.replit" ]]; then
echo "$1/.replit must exist"
exit 1
fi

if [[ -L "$ROOT/.replit" ]]; then
rm "$ROOT/.replit"
fi

ln -s "$ROOT/current/.replit" "$ROOT/.replit"

if [[ -L "$ROOT/replit.nix" ]]; then
rm "$ROOT/replit.nix"
fi

if [[ -e "$ROOT/current/replit.nix" ]]; then
ln -s "$ROOT/current/replit.nix" "$ROOT/replit.nix"
fi
38 changes: 0 additions & 38 deletions current.sh

This file was deleted.

10 changes: 0 additions & 10 deletions new_project.sh

This file was deleted.

32 changes: 0 additions & 32 deletions node/redwoodblog/api/src/lib/auth.ts

This file was deleted.

21 changes: 0 additions & 21 deletions node/redwoodblog/api/src/lib/db.ts

This file was deleted.

17 changes: 0 additions & 17 deletions node/redwoodblog/api/src/lib/logger.ts

This file was deleted.

218 changes: 0 additions & 218 deletions poetry.lock

This file was deleted.

Loading

0 comments on commit d316aee

Please sign in to comment.