initial publish

This commit is contained in:
Sean Dugre 2025-11-30 19:29:31 -05:00
parent fe383f9333
commit 158d021613
49 changed files with 1796 additions and 26 deletions

View file

@ -1,19 +1,19 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "/home/sdugre/www/testsite" ]]; then
if [[ ! -d "/home/sdugre/www/seandugre.com" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/home/sdugre/www/testsite")"
echo "(Looking for "/home/sdugre/www/seandugre.com")"
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
exit 1
fi
# rebuild the cache forcefully
_nix_direnv_force_reload=1 direnv exec "/home/sdugre/www/testsite" true
_nix_direnv_force_reload=1 direnv exec "/home/sdugre/www/seandugre.com" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/home/sdugre/www/testsite/.envrc"
touch "/home/sdugre/www/seandugre.com/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "/home/sdugre/www/testsite/.envrc" "/home/sdugre/www/testsite/.direnv"/*.rc
touch -r "/home/sdugre/www/seandugre.com/.envrc" "/home/sdugre/www/seandugre.com/.direnv"/*.rc