Skip to content

Instantly share code, notes, and snippets.

@qapquiz
Created January 28, 2020 12:17

Revisions

  1. qapquiz created this gist Jan 28, 2020.
    5 changes: 5 additions & 0 deletions post-checkout
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/sh

    ASSETS_DIR="$(git config --get unity3d.assets-dir || echo "Assets")"
    # Remove empty assets directory
    find "$ASSETS_DIR" -depth -type d -empty -delete