Skip to content

Instantly share code, notes, and snippets.

@beatak
Created May 31, 2011 23:11
Show Gist options
  • Save beatak/1001472 to your computer and use it in GitHub Desktop.
Save beatak/1001472 to your computer and use it in GitHub Desktop.
this would make me feel better when I type it wrong
diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -XXXX,6 +XXXX,18 @@
+ <!-- joke -->
+ <condition property="japanese_people">
+ <equals arg1="takashi" arg2="${user.name}" />
+ </condition>
+ <target name="jap-selfhater" if="japanese_people">
+ <echo>Don't be a self-hater</echo>
+ </target>
+ <target name="jap-racist" unless="japanese_people">
+ <echo>Don't be a racist</echo>
+ </target>
+ <target name="jap" depends="jap-selfhater,jap-racist" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment