Files
react/compiler/scripts/hash.sh
lauren a0dc166991 [rfc] Remove top level forget directory
Sorry about the thrash in advance! This removes the top level `forget` directory 
which adds unnecessary nesting to our repo 

Hopefully everything still works
2023-08-22 15:04:54 -04:00

7 lines
182 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail
# Hashes JS files in the provided directory to create a cache-breaker
find $1 -name '*.js' | sort | xargs shasum | shasum | awk '{ print $1 }'