Skip to content

Instantly share code, notes, and snippets.

@ylgrgyq
Created May 15, 2020 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ylgrgyq/f8351cad10b12e0fad8dc2276c963372 to your computer and use it in GitHub Desktop.
Save ylgrgyq/f8351cad10b12e0fad8dc2276c963372 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -eu
if [ "true" == $2 ]
then
echo "(ns push-server.core)\n(private-me!)" | lein repl :connect $1:32505
else
echo "(ns push-server.core)\n(public-me!)" | lein repl :connect $1:32505
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment