app.nit: exit and print an error if not bound to a platform
[nit.git] / lib / linux / linux.nit
index 32a5ad4..3f08b98 100644 (file)
@@ -18,6 +18,7 @@
 module linux
 
 import app
+intrude import app::app_base # For test_bound_platform
 
 redef class App
        # Path to the expected location of the asset folder of this program
@@ -62,3 +63,5 @@ redef class TextAsset
 end
 
 redef fun bound_platform do return "GNU/Linux"
+
+redef fun test_bound_platform do end