Skip to content

Commit

Permalink
Update zip Makefile recipe
Browse files Browse the repository at this point in the history
Remove git repos altogether from the current codebase
  • Loading branch information
mfragkoulis committed Sep 11, 2019
1 parent 61b1b9d commit 044bb75
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,8 @@ commit:
for i in $$(echo unix-tools/*/.git | sed 's/\.git//g') . ; do grep -v '^#' .git/COMMIT_EDITMSG | (cd $$i && git commit -a -F -) ; done
rm -f .git/COMMIT_EDITMSG

# Example map-hierarchy.sh needs a pointer to dgsh/.git/modules/unix-tools/grep
zip:
cd .. && zip -r dgsh.zip dgsh -x "dgsh/.git/hooks/*" \
"dgsh/.git/info/*" \
"dgsh/.git/logs/*" \
"dgsh/.git/modules/unix-tools/bash/*" \
"dgsh/.git/modules/unix-tools/coreutils/*" \
"dgsh/.git/objects/*" \
"dgsh/.git/refs/*"
cd .. && zip -r dgsh.zip dgsh -x *.git*

# Rough uninstall rule to verify that tests pick up correct files
uninstall:
Expand Down

0 comments on commit 044bb75

Please sign in to comment.