Skip to content

Instantly share code, notes, and snippets.

@alivedise
Created June 7, 2012 08:37
Show Gist options
  • Select an option

  • Save alivedise/2887436 to your computer and use it in GitHub Desktop.

Select an option

Save alivedise/2887436 to your computer and use it in GitHub Desktop.
Patch for demo#2
diff --git Makefile Makefile
index e86e5de..5935f2a 100644
--- Makefile
+++ Makefile
@@ -26,6 +26,8 @@ DEBUG?=0
REPORTER=Spec
+#EXCLUDED=uitest test-agent
+
###############################################################################
# The above rules generate the profile/ folder and all its content. #
@@ -112,6 +114,7 @@ webapp-manifests:
@cd apps; \
for d in `find * -maxdepth 0 -type d` ;\
do \
+ echo $(EXCLUDED) | grep -Eq $$d && continue; \
if [ -f $$d/manifest.webapp ]; \
then \
mkdir -p ../profile/webapps/$$d; \
@@ -392,6 +395,7 @@ update-offline-manifests:
@cd apps; \
for d in `find * -maxdepth 0 -type d` ;\
do \
+ echo $(EXCLUDED) | grep -Eq $$d && continue; \
if [ -f $$d/manifest.webapp ] ;\
then \
echo \\t$$d ;\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment