fix comment display
This commit is contained in:
parent
4051c8c6ae
commit
5bb761bcf1
|
@ -10,9 +10,8 @@ Propellor properites can be parameterized by OS. Currently it has support
|
||||||
for Debian and some untested support for Ubuntu. A property can be parameterized
|
for Debian and some untested support for Ubuntu. A property can be parameterized
|
||||||
like this:
|
like this:
|
||||||
|
|
||||||
[[!format haskell """
|
foo :: Property
|
||||||
foo :: Property
|
foo = property "foo" withOS desc $ \o -> case o of
|
||||||
foo = property "foo" withOS desc $ \o -> case o of
|
|
||||||
(Just (System (Debian _) _)) -> ensureProperty fooDebian
|
(Just (System (Debian _) _)) -> ensureProperty fooDebian
|
||||||
(Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu
|
(Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu
|
||||||
|
|
||||||
|
@ -21,5 +20,3 @@ Compilation will then warn about all OS parameterized properties that
|
||||||
need to be updated to support your added OS, and it can be taken from there.
|
need to be updated to support your added OS, and it can be taken from there.
|
||||||
|
|
||||||
I'll accept reasonable patches to support other OS's.
|
I'll accept reasonable patches to support other OS's.
|
||||||
"""]]
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue