swish/commit
Include general SWISH C3 and Graphviz demos
author | Jan Wielemaker |
---|---|
Fri Oct 16 10:44:57 2015 +0200 | |
committer | Jan Wielemaker |
Fri Oct 16 10:44:57 2015 +0200 | |
commit | 083d23a31545f016f0b8656151cbfba89e28cbe8 |
tree | ed74eecdb1da799175396b2179c14b821bc67f58 |
parent | fe868e0c95dcf7754f328592d20ae2cb01be7bf9 |
Diff style: patch stat
diff --git a/Makefile b/Makefile index 68c9468..54e81c0 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,11 @@ FONTFILES=glyphicons-halflings-regular.ttf \ FONTS=$(addprefix $(FONTDIR)/, $(FONTFILES)) CLIENTFILES=swish-ask.sh README.md sin-table.html CLIENTS=$(addprefix client/, $(CLIENTFILES)) +EXAMPLESFILES=render_c3.swinb render_graphviz.swinb +EXAMPLES=$(addprefix examples/, $(EXAMPLESFILES)) -all: $(DIRS) $(LIBS) $(JS) $(CSS) $(ICONS) $(HELP) $(FONTS) $(CLIENTS) +all: $(DIRS) $(LIBS) $(JS) $(CSS) $(ICONS) $(HELP) $(FONTS) $(CLIENTS) \ + $(EXAMPLES) $(DIRS): mkdir -p $@ @@ -53,6 +56,9 @@ web/icons/%: src/web/icons/% web/help/%: src/web/help/% rsync -u $< $@ +examples/%: src/examples/% + rsync -u $< $@ + $(FONTDIR)/%: src/$(FONTDIR)/% rsync -u $< $@ diff --git a/examples/index.json b/examples/index.json index 52a8ba0..f84c2cf 100644 --- a/examples/index.json +++ b/examples/index.json @@ -1,6 +1,7 @@ // list of examples, represented as a JSON list [ -{ "file":"rdf_examples.swinb", "title":"RDF Examples" }, -"--" +{ "file":"rdf_examples.swinb", "title":"RDF queries" }, +{ "file":"render_c3.swinb", "title":"C3 chart rendering" }, +{ "file":"render_graphviz.swinb", "title":"Graphviz graph rendering" } ]