diff --git a/deploy.sh b/deploy.sh index 8a8475b794dd95e6a277b0b4a57d940f87e030e4..00522b223b75584a2f4bcd4f1b3a7c2e74bc9f38 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/bin/sh -cp -R ~/Research/WebApps/DMDesign ~/Projects/dma/Web/mod +rsync -r -v --exclude=".*" --exclude='node/node_modules/' ~/Research/WebApps/DMDesign ~/Projects/dma/Web/mod cd ~/Projects/dma hg addremove . diff --git a/push.sh b/push.sh index be9ab0534919e0ad17dbb30fcb837b686e46d5fd..54a8311eb3501ec4fbd392b30df710535e7cda01 100755 --- a/push.sh +++ b/push.sh @@ -1,6 +1,6 @@ #!/bin/sh -rsync -r -v --exclude=".*" ~/Research/WebApps/DMDesign ~/Projects/dma/Web/ +rsync -r -v --exclude=".*" --exclude='node/node_modules/' ~/Research/WebApps/DMDesign ~/Projects/dma/Web/ cd ~/Projects/dma hg addremove .