Here is a pattern that I use sometimes:
#!/bin/bash
# -*- mode: julia -*-
#=
JULIA="${JULIA:-julia --color=yes --startup-file=no}"
export JULIA_PROJECT="$(dirname ${BASH_SOURCE[0]})"
set -ex
${JULIA} -e 'using Pkg; Pkg.instantiate()'
export JULIA_LOAD_PATH="@"
exec ${JULIA} "${BASH_SOURCE[0]}" "$@"
=#
using Whatever
...
Not sure if this is less overkill, though.