Skip to content

Instantly share code, notes, and snippets.

@kprofic
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save kprofic/914257d2575a0b93b95d to your computer and use it in GitHub Desktop.

Select an option

Save kprofic/914257d2575a0b93b95d to your computer and use it in GitHub Desktop.

Revisions

  1. kprofic revised this gist Oct 2, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions TotalLOC
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    // http://matthewmorey.com/improved-xcode-build-phases/

    echo "Total lines of code:"
    find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -and \( -path "${SRCROOT}/Pods/*" -prune -o -print0 \) | xargs -0 cat | wc -l
  2. kprofic created this gist Oct 2, 2014.
    2 changes: 2 additions & 0 deletions TotalLOC
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    echo "Total lines of code:"
    find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -and \( -path "${SRCROOT}/Pods/*" -prune -o -print0 \) | xargs -0 cat | wc -l