Created
August 7, 2017 17:57
-
-
Save gabmontes/cfda98f0b344fe15eab1de392efa38c3 to your computer and use it in GitHub Desktop.
Gather information about the runtime environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
date > env.log | |
lsb_release -a >> env.log | |
echo "node: $(node --version)" >> env.log | |
echo "nodejs: $(nodejs --version)" >> env.log | |
echo "npm: $(npm --version)" >> env.log | |
echo "git HEAD: $(git rev-parse --short HEAD)" >> env.log | |
git status >> env.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment