contrib/objcwrapper makefile: add the NSAlert check
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 25 Aug 2015 19:00:19 +0000 (15:00 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 27 Aug 2015 19:26:49 +0000 (15:26 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/objcwrapper/Makefile

index 34257ab..1f1021a 100644 (file)
@@ -38,5 +38,11 @@ check-apple: bin/objcwrapper
        bin/objcwrapper tests/NSArray.pre.h -o tests/nsarray.nit
        ../../bin/nitpick tests/nsarray.nit
 
+       gcc -E /System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h \
+       | ../header_keeper/bin/header_keeper NSAlert.h \
+       | bin/header_static > tests/NSAlert.pre.h
+       bin/objcwrapper tests/NSAlert.pre.h -o tests/nsalert.nit
+       ../../bin/nitpick tests/nsalert.nit
+
 bin/header_static:
        ../../bin/nitc --dir bin src/header_static.nit