mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Remove hash_version.sh - no longer needed on windows now
* The VS project fetches the git hash if we're in a git clone inside the build process.
This commit is contained in:
+1
-4
@@ -15,10 +15,7 @@ if [ $# -ne 1 ] || [ $1 != "autobuild" ]; then
|
||||
echo "Have you rebuilt the documentation? (cd docs/ && ./make.sh htmlhelp)"
|
||||
read;
|
||||
|
||||
echo "Have you marked the git commit hash in version info? (./scripts/hash_version.sh)"
|
||||
read;
|
||||
|
||||
echo "Now compile 32-bit and 64-bit Release builds."
|
||||
echo "Have you built 32-bit and 64-bit Release builds?"
|
||||
read;
|
||||
|
||||
echo "=== Building folders"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -f renderdoc/data/resource.h ]; then
|
||||
echo "This script should be run from the root of the checkout.";
|
||||
echo "e.g. ./scripts/hash_version.sh";
|
||||
exit;
|
||||
fi
|
||||
|
||||
GIT_HASH=`git status > /dev/null 2>&1 && git rev-parse HEAD || echo NO_GIT_COMMIT_HASH_DEFINED`;
|
||||
|
||||
rm -f ver
|
||||
sed "s/NO_GIT_COMMIT_HASH_DEFINED/$GIT_HASH/" renderdoc/api/replay/version.h > ver && mv ver renderdoc/api/replay/version.h
|
||||
rm -f ver
|
||||
Reference in New Issue
Block a user