diff --git a/.gitignore b/.gitignore index 60c76247c..064597176 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,10 @@ output/output.json repo tmp/ +# Ignore optional native extensions for SSH +dist/*/build/Release/cpufeatures.node +dist/*/lib/protocol/crypto/build/Release/sshcrypto.node + # Dependency directory node_modules @@ -98,7 +102,3 @@ typings/ # OS metadata .DS_Store Thumbs.db - -# Ignore built ts files -__tests__/runner/* -lib/**/* diff --git a/script/check-diff b/script/check-diff index bc45833cd..c68ccf20a 100755 --- a/script/check-diff +++ b/script/check-diff @@ -1,5 +1,7 @@ #!/bin/bash +# Make sure we notice any untracked files generated by the build +git add --intent-to-add . git diff --quiet dist/ retVal=$? if [ $retVal -ne 0 ]; then