Help language development. Donate to The Perl Foundation

CSS cpan:WARRINGD last updated on 2021-09-26

Makefile
DocProj=css-raku.github.io
DocRepo=https://github.com/css-raku/$(DocProj)
DocLinker=../$(DocProj)/etc/resolve-links.raku

all : doc

test : all
	@prove -e"raku -I ." t

loudtest : all
	@prove -e"raku -I ." -v t

$(DocLinker) :
	(cd .. && git clone $(DocRepo) $(DocProj))

doc : $(DocLinker) docs/index.md

docs/index.md : lib/CSS.rakumod
	(\
	    echo '[![Build Status](https://travis-ci.org/css-raku/CSS-raku.svg?branch=master)](https://travis-ci.org/css-raku/CSS-raku)'; \
            echo '';\
            perl6 -I . --doc=Markdown $< \
	    | TRAIL=CSS raku -p -n $(DocLinker) \
       ) > [email protected]

docs/%.md : lib/%.rakumod
	raku -I . --doc=Markdown $< \
	| TRAIL=$* raku -p -n $(DocLinker) \
         > [email protected]