Commit b487ac6b authored by György Kurucz's avatar György Kurucz
Browse files

Add git version magic to dump_csg.sh

parent dd99ed30
#!/bin/sh #!/bin/sh
dir=out/${1:-default} dirty=""
gitid=$(git rev-parse --short HEAD)
if [ ! -z "$(git status -s -uno)" ]; then
gitid="$gitid-dirty"
fi
dir=out/${1:-$gitid}
mkdir -p $dir mkdir -p $dir
for file in $(find src -type f -name '*.scad'); do for file in $(find src -type f -name '*.scad'); do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment