From edaa004348571857c03485950202722b6e4fb944 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 9 Aug 2021 17:25:02 +0200 Subject: properly install data in docdir --- Makefile.am | 29 +++++++++++++--- Makefile.in | 46 ++++++++++++++++++-------- example/README.txt | 4 --- example/content/bhello_ap/index.json | 7 ---- example/content/bhello_ap_cu/index.json | 8 ----- example/content/bhello_cu/index.json | 7 ---- example/content/bhello_pe/index.json | 7 ---- example/content/bhello_pe_pi/index.json | 8 ----- example/content/bhello_pi/index.json | 7 ---- example/content/phachettebugs1/index.json | 5 --- example/content/phachettebugs2/index.json | 5 --- example/content/phachettebugs3/index.json | 5 --- example/content/phachettebugs4/index.json | 5 --- example/content/pkoszko.org_hello1/index.json | 5 --- example/content/pkoszko.org_hello2/index.json | 5 --- example/content/pkoszko.org_hello3/index.json | 5 --- example/content/pmyfsfhello1/index.json | 5 --- example/content/pmyfsfhello2/index.json | 5 --- example/content/pmyfsfhello3/index.json | 5 --- example/content/shello_apple/hello.js | 1 - example/content/shello_apple/index.json | 6 ---- example/content/shello_cucumber/hello.js | 1 - example/content/shello_cucumber/index.json | 6 ---- example/content/shello_pear/hello.js | 1 - example/content/shello_pear/index.json | 6 ---- example/content/shello_pineapple/hello.js | 1 - example/content/shello_pineapple/index.json | 6 ---- examples/README.txt | 4 +++ examples/content/bhello_ap/index.json | 7 ++++ examples/content/bhello_ap_cu/index.json | 8 +++++ examples/content/bhello_cu/index.json | 7 ++++ examples/content/bhello_pe/index.json | 7 ++++ examples/content/bhello_pe_pi/index.json | 8 +++++ examples/content/bhello_pi/index.json | 7 ++++ examples/content/phachettebugs1/index.json | 5 +++ examples/content/phachettebugs2/index.json | 5 +++ examples/content/phachettebugs3/index.json | 5 +++ examples/content/phachettebugs4/index.json | 5 +++ examples/content/pkoszko.org_hello1/index.json | 5 +++ examples/content/pkoszko.org_hello2/index.json | 5 +++ examples/content/pkoszko.org_hello3/index.json | 5 +++ examples/content/pmyfsfhello1/index.json | 5 +++ examples/content/pmyfsfhello2/index.json | 5 +++ examples/content/pmyfsfhello3/index.json | 5 +++ examples/content/shello_apple/hello.js | 1 + examples/content/shello_apple/index.json | 6 ++++ examples/content/shello_cucumber/hello.js | 1 + examples/content/shello_cucumber/index.json | 6 ++++ examples/content/shello_pear/hello.js | 1 + examples/content/shello_pear/index.json | 6 ++++ examples/content/shello_pineapple/hello.js | 1 + examples/content/shello_pineapple/index.json | 6 ++++ 52 files changed, 182 insertions(+), 145 deletions(-) delete mode 100644 example/README.txt delete mode 100644 example/content/bhello_ap/index.json delete mode 100644 example/content/bhello_ap_cu/index.json delete mode 100644 example/content/bhello_cu/index.json delete mode 100644 example/content/bhello_pe/index.json delete mode 100644 example/content/bhello_pe_pi/index.json delete mode 100644 example/content/bhello_pi/index.json delete mode 100644 example/content/phachettebugs1/index.json delete mode 100644 example/content/phachettebugs2/index.json delete mode 100644 example/content/phachettebugs3/index.json delete mode 100644 example/content/phachettebugs4/index.json delete mode 100644 example/content/pkoszko.org_hello1/index.json delete mode 100644 example/content/pkoszko.org_hello2/index.json delete mode 100644 example/content/pkoszko.org_hello3/index.json delete mode 100644 example/content/pmyfsfhello1/index.json delete mode 100644 example/content/pmyfsfhello2/index.json delete mode 100644 example/content/pmyfsfhello3/index.json delete mode 100644 example/content/shello_apple/hello.js delete mode 100644 example/content/shello_apple/index.json delete mode 100644 example/content/shello_cucumber/hello.js delete mode 100644 example/content/shello_cucumber/index.json delete mode 100644 example/content/shello_pear/hello.js delete mode 100644 example/content/shello_pear/index.json delete mode 100644 example/content/shello_pineapple/hello.js delete mode 100644 example/content/shello_pineapple/index.json create mode 100644 examples/README.txt create mode 100644 examples/content/bhello_ap/index.json create mode 100644 examples/content/bhello_ap_cu/index.json create mode 100644 examples/content/bhello_cu/index.json create mode 100644 examples/content/bhello_pe/index.json create mode 100644 examples/content/bhello_pe_pi/index.json create mode 100644 examples/content/bhello_pi/index.json create mode 100644 examples/content/phachettebugs1/index.json create mode 100644 examples/content/phachettebugs2/index.json create mode 100644 examples/content/phachettebugs3/index.json create mode 100644 examples/content/phachettebugs4/index.json create mode 100644 examples/content/pkoszko.org_hello1/index.json create mode 100644 examples/content/pkoszko.org_hello2/index.json create mode 100644 examples/content/pkoszko.org_hello3/index.json create mode 100644 examples/content/pmyfsfhello1/index.json create mode 100644 examples/content/pmyfsfhello2/index.json create mode 100644 examples/content/pmyfsfhello3/index.json create mode 100644 examples/content/shello_apple/hello.js create mode 100644 examples/content/shello_apple/index.json create mode 100644 examples/content/shello_cucumber/hello.js create mode 100644 examples/content/shello_cucumber/index.json create mode 100644 examples/content/shello_pear/hello.js create mode 100644 examples/content/shello_pear/index.json create mode 100644 examples/content/shello_pineapple/hello.js create mode 100644 examples/content/shello_pineapple/index.json diff --git a/Makefile.am b/Makefile.am index 5834e07..c8975ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,28 @@ +## C program SUBDIRS = src -dist_doc_DATA = README.txt +# data files +dist_doc_DATA = README.txt copyright +EXTRA_DIST = examples licenses + +install_doc: $(srcdir)/examples $(srcdir)/licenses + cd $(srcdir) && for D in `find examples licenses -type d`; do \ + $(MKDIR_P) $(DESTDIR)/$(docdir)/"$$D"; \ + done + cd $(srcdir) && for F in `find examples licenses -type f`; do \ + $(INSTALL_DATA) "$$F" $(DESTDIR)/$(docdir)/"$$F"; \ + done + +uninstall_doc: + rm -rf $(DESTDIR)/$(docdir)/examples $(DESTDIR)/$(docdir)/licenses + -rmdir $(DESTDIR)/$(docdir) + +install-data-local: install_doc +uninstall-local: uninstall_doc + +.PHONY: install-doc uninstall-doc + +## init scripts transform_name = @program_transform_name@ hydrilla_new_name = `echo hydrilla | sed '$(transform_name)'` subst_perform = sed -e 's|[@]hydrilla[@]|'$(hydrilla_new_name)'|g' \ @@ -8,10 +30,8 @@ subst_perform = sed -e 's|[@]hydrilla[@]|'$(hydrilla_new_name)'|g' \ -e 's|[@]runstatedir[@]|$(runstatedir)|g' \ -e 's|[@]logdir[@]|$(localstatedir)/log|g' - bin_SCRIPTS = CLEANFILES = -EXTRA_DIST = # SysV init script CLEANFILES += daemon/sysv @@ -28,9 +48,8 @@ install-sysv-script: $(srcdir)/daemon/sysv $(INSTALL_SCRIPT) $< $(sysv_script_dest_path) uninstall-sysv-script: - rm -f $(DESTDIR)/$(sysv_script_dest_path) + rm -f $(sysv_script_dest_path) -# Inform Automake about our special (un)install rules install-exec-local: install-sysv-script uninstall-local: uninstall-sysv-script diff --git a/Makefile.in b/Makefile.in index cfadfe4..69404ef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -317,7 +317,10 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = src -dist_doc_DATA = README.txt + +# data files +dist_doc_DATA = README.txt copyright +EXTRA_DIST = examples licenses daemon/sysv.in transform_name = @program_transform_name@ hydrilla_new_name = `echo hydrilla | sed '$(transform_name)'` subst_perform = sed -e 's|[@]hydrilla[@]|'$(hydrilla_new_name)'|g' \ @@ -329,7 +332,6 @@ bin_SCRIPTS = # SysV init script CLEANFILES = daemon/sysv -EXTRA_DIST = daemon/sysv.in sysv_script_dest_loc = $(DESTDIR)/etc/init.d sysv_script_dest_path = $(sysv_script_dest_loc)/$(hydrilla_new_name) all: config.h @@ -798,7 +800,7 @@ info: info-recursive info-am: -install-data-am: install-dist_docDATA +install-data-am: install-data-local install-dist_docDATA install-dvi: install-dvi-recursive @@ -857,19 +859,36 @@ uninstall-am: uninstall-binSCRIPTS uninstall-dist_docDATA \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-binSCRIPTS install-data install-data-am \ - install-dist_docDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-exec-local install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ - tags-am uninstall uninstall-am uninstall-binSCRIPTS \ - uninstall-dist_docDATA uninstall-local + install-data-local install-dist_docDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-local \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-binSCRIPTS uninstall-dist_docDATA uninstall-local .PRECIOUS: Makefile +install_doc: $(srcdir)/examples $(srcdir)/licenses + cd $(srcdir) && for D in `find examples licenses -type d`; do \ + $(MKDIR_P) $(DESTDIR)/$(docdir)/"$$D"; \ + done + cd $(srcdir) && for F in `find examples licenses -type f`; do \ + $(INSTALL_DATA) "$$F" $(DESTDIR)/$(docdir)/"$$F"; \ + done + +uninstall_doc: + rm -rf $(DESTDIR)/$(docdir)/examples $(DESTDIR)/$(docdir)/licenses + -rmdir $(DESTDIR)/$(docdir) + +install-data-local: install_doc +uninstall-local: uninstall_doc + +.PHONY: install-doc uninstall-doc + $(srcdir)/daemon/sysv: $(srcdir)/daemon/sysv.in $(srcdir)/Makefile $(subst_perform) < $< > $@ @@ -878,9 +897,8 @@ install-sysv-script: $(srcdir)/daemon/sysv $(INSTALL_SCRIPT) $< $(sysv_script_dest_path) uninstall-sysv-script: - rm -f $(DESTDIR)/$(sysv_script_dest_path) + rm -f $(sysv_script_dest_path) -# Inform Automake about our special (un)install rules install-exec-local: install-sysv-script uninstall-local: uninstall-sysv-script diff --git a/example/README.txt b/example/README.txt deleted file mode 100644 index bbc1bca..0000000 --- a/example/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory contains example resources for Hydrilla. They do not do anything -useful - just print some kind of "hello" message on given websites. They are -meant for use as a reference for data format and as a mock of real resources -for use whene developing. diff --git a/example/content/bhello_ap/index.json b/example/content/bhello_ap/index.json deleted file mode 100644 index 2552c31..0000000 --- a/example/content/bhello_ap/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_apple", -"components" : [ -["script", "hello_apple"] -] -} diff --git a/example/content/bhello_ap_cu/index.json b/example/content/bhello_ap_cu/index.json deleted file mode 100644 index 5f093e7..0000000 --- a/example/content/bhello_ap_cu/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_apple_and_cucumber", -"components" : [ -["bag", "hello_apple"], -["bag", "hello_cucumber"] -] -} diff --git a/example/content/bhello_cu/index.json b/example/content/bhello_cu/index.json deleted file mode 100644 index 47023ca..0000000 --- a/example/content/bhello_cu/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_cucumber", -"components" : [ -["script", "hello_cucumber"] -] -} diff --git a/example/content/bhello_pe/index.json b/example/content/bhello_pe/index.json deleted file mode 100644 index 07de71a..0000000 --- a/example/content/bhello_pe/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_pear", -"components" : [ -["script", "hello_pear"] -] -} diff --git a/example/content/bhello_pe_pi/index.json b/example/content/bhello_pe_pi/index.json deleted file mode 100644 index 5ceff86..0000000 --- a/example/content/bhello_pe_pi/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_pear_and_pineapple", -"components" : [ -["bag", "hello_pear"], -["bag", "hello_pineapple"] -] -} diff --git a/example/content/bhello_pi/index.json b/example/content/bhello_pi/index.json deleted file mode 100644 index 8e6946e..0000000 --- a/example/content/bhello_pi/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ -"type" : "bag", -"name" : "hello_pineapple", -"components" : [ -["script", "hello_pineapple"] -] -} diff --git a/example/content/phachettebugs1/index.json b/example/content/phachettebugs1/index.json deleted file mode 100644 index fac24ef..0000000 --- a/example/content/phachettebugs1/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://*.koszko.org/***", -"payload" : ["script", "hello_pear"] -} diff --git a/example/content/phachettebugs2/index.json b/example/content/phachettebugs2/index.json deleted file mode 100644 index 891f0d2..0000000 --- a/example/content/phachettebugs2/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://hachettebugs.koszko.org/**", -"payload" : ["bag", "hello_pear"] -} diff --git a/example/content/phachettebugs3/index.json b/example/content/phachettebugs3/index.json deleted file mode 100644 index 7187af5..0000000 --- a/example/content/phachettebugs3/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://hachettebugs.koszko.org/boards/***", -"payload" : ["bag", "hello_cucumber"] -} diff --git a/example/content/phachettebugs4/index.json b/example/content/phachettebugs4/index.json deleted file mode 100644 index 203153a..0000000 --- a/example/content/phachettebugs4/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://hachettebugs.koszko.org/projects/***", -"payload" : ["bag", "hello_pineapple"] -} diff --git a/example/content/pkoszko.org_hello1/index.json b/example/content/pkoszko.org_hello1/index.json deleted file mode 100644 index 013ce7c..0000000 --- a/example/content/pkoszko.org_hello1/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://koszko.org/en/", -"payload" : ["bag", "hello_apple_and_cucumber"] -} diff --git a/example/content/pkoszko.org_hello2/index.json b/example/content/pkoszko.org_hello2/index.json deleted file mode 100644 index a61f7e6..0000000 --- a/example/content/pkoszko.org_hello2/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://koszko.org/**", -"payload" : ["bag", "hello_cucumber"] -} diff --git a/example/content/pkoszko.org_hello3/index.json b/example/content/pkoszko.org_hello3/index.json deleted file mode 100644 index d0e00d0..0000000 --- a/example/content/pkoszko.org_hello3/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://koszko.org/***", -"payload" : ["bag", "hello_pear_and_pineapple"] -} diff --git a/example/content/pmyfsfhello1/index.json b/example/content/pmyfsfhello1/index.json deleted file mode 100644 index d151f1b..0000000 --- a/example/content/pmyfsfhello1/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://my.fsf.org", -"payload" : ["bag", "hello_apple"] -} diff --git a/example/content/pmyfsfhello2/index.json b/example/content/pmyfsfhello2/index.json deleted file mode 100644 index 2bd0be3..0000000 --- a/example/content/pmyfsfhello2/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://my.fsf.org/", -"payload" : ["script", "hello_apple"] -} diff --git a/example/content/pmyfsfhello3/index.json b/example/content/pmyfsfhello3/index.json deleted file mode 100644 index ba0a126..0000000 --- a/example/content/pmyfsfhello3/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -"type" : "page", -"pattern" : "https://*.fsf.org/", -"payload" : ["bag", "hello_pineapple"] -} diff --git a/example/content/shello_apple/hello.js b/example/content/shello_apple/hello.js deleted file mode 100644 index b6b1a02..0000000 --- a/example/content/shello_apple/hello.js +++ /dev/null @@ -1 +0,0 @@ -console.log("hello, apple!"); diff --git a/example/content/shello_apple/index.json b/example/content/shello_apple/index.json deleted file mode 100644 index c52c32c..0000000 --- a/example/content/shello_apple/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ -"type" : "script", -"name" : "hello_apple", -"sha256" : "d349309ba674c092a7d03cd5ecc90c6370402482286db28b3d32d86052b6cf69", -"location" : "hello.js" -} diff --git a/example/content/shello_cucumber/hello.js b/example/content/shello_cucumber/hello.js deleted file mode 100644 index b285094..0000000 --- a/example/content/shello_cucumber/hello.js +++ /dev/null @@ -1 +0,0 @@ -console.log("hello, cucumber!"); diff --git a/example/content/shello_cucumber/index.json b/example/content/shello_cucumber/index.json deleted file mode 100644 index 788d51e..0000000 --- a/example/content/shello_cucumber/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ -"type" : "script", -"name" : "hello_cucumber", -"sha256" : "1d65dda24c08e928cfd06a98b57def4599ff4cfe85e01e517d852a87feb03111", -"location" : "hello.js" -} diff --git a/example/content/shello_pear/hello.js b/example/content/shello_pear/hello.js deleted file mode 100644 index 0e98fdd..0000000 --- a/example/content/shello_pear/hello.js +++ /dev/null @@ -1 +0,0 @@ -console.log("hello, pear!"); diff --git a/example/content/shello_pear/index.json b/example/content/shello_pear/index.json deleted file mode 100644 index 65d8d61..0000000 --- a/example/content/shello_pear/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ -"type" : "script", -"name" : "hello_pear", -"sha256" : "f61c50e1b977235260ee8b708b31ee003b1585afbe228cee6a0d754357e24b7e", -"location" : "hello.js" -} diff --git a/example/content/shello_pineapple/hello.js b/example/content/shello_pineapple/hello.js deleted file mode 100644 index 3632e67..0000000 --- a/example/content/shello_pineapple/hello.js +++ /dev/null @@ -1 +0,0 @@ -console.log("hello, pineapple!"); diff --git a/example/content/shello_pineapple/index.json b/example/content/shello_pineapple/index.json deleted file mode 100644 index f75935a..0000000 --- a/example/content/shello_pineapple/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ -"type" : "script", -"name" : "hello_pineapple", -"sha256" : "f53bde306e0774618a1c9e12cb62175fbca90779c79d812a699b54c125c1634a", -"location" : "hello.js" -} diff --git a/examples/README.txt b/examples/README.txt new file mode 100644 index 0000000..1f1f57f --- /dev/null +++ b/examples/README.txt @@ -0,0 +1,4 @@ +This directory contains example resources for Hydrilla. They do not do anything +useful - just print some kind of "hello" message on given websites. They are +meant for use as a reference for data format and as a mock of real resources +for use when developing. diff --git a/examples/content/bhello_ap/index.json b/examples/content/bhello_ap/index.json new file mode 100644 index 0000000..2552c31 --- /dev/null +++ b/examples/content/bhello_ap/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_apple", +"components" : [ +["script", "hello_apple"] +] +} diff --git a/examples/content/bhello_ap_cu/index.json b/examples/content/bhello_ap_cu/index.json new file mode 100644 index 0000000..5f093e7 --- /dev/null +++ b/examples/content/bhello_ap_cu/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_apple_and_cucumber", +"components" : [ +["bag", "hello_apple"], +["bag", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_cu/index.json b/examples/content/bhello_cu/index.json new file mode 100644 index 0000000..47023ca --- /dev/null +++ b/examples/content/bhello_cu/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_cucumber", +"components" : [ +["script", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_pe/index.json b/examples/content/bhello_pe/index.json new file mode 100644 index 0000000..07de71a --- /dev/null +++ b/examples/content/bhello_pe/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pear", +"components" : [ +["script", "hello_pear"] +] +} diff --git a/examples/content/bhello_pe_pi/index.json b/examples/content/bhello_pe_pi/index.json new file mode 100644 index 0000000..5ceff86 --- /dev/null +++ b/examples/content/bhello_pe_pi/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_pear_and_pineapple", +"components" : [ +["bag", "hello_pear"], +["bag", "hello_pineapple"] +] +} diff --git a/examples/content/bhello_pi/index.json b/examples/content/bhello_pi/index.json new file mode 100644 index 0000000..8e6946e --- /dev/null +++ b/examples/content/bhello_pi/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pineapple", +"components" : [ +["script", "hello_pineapple"] +] +} diff --git a/examples/content/phachettebugs1/index.json b/examples/content/phachettebugs1/index.json new file mode 100644 index 0000000..fac24ef --- /dev/null +++ b/examples/content/phachettebugs1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.koszko.org/***", +"payload" : ["script", "hello_pear"] +} diff --git a/examples/content/phachettebugs2/index.json b/examples/content/phachettebugs2/index.json new file mode 100644 index 0000000..891f0d2 --- /dev/null +++ b/examples/content/phachettebugs2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/**", +"payload" : ["bag", "hello_pear"] +} diff --git a/examples/content/phachettebugs3/index.json b/examples/content/phachettebugs3/index.json new file mode 100644 index 0000000..7187af5 --- /dev/null +++ b/examples/content/phachettebugs3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/boards/***", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/phachettebugs4/index.json b/examples/content/phachettebugs4/index.json new file mode 100644 index 0000000..203153a --- /dev/null +++ b/examples/content/phachettebugs4/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/projects/***", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/pkoszko.org_hello1/index.json b/examples/content/pkoszko.org_hello1/index.json new file mode 100644 index 0000000..013ce7c --- /dev/null +++ b/examples/content/pkoszko.org_hello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/en/", +"payload" : ["bag", "hello_apple_and_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello2/index.json b/examples/content/pkoszko.org_hello2/index.json new file mode 100644 index 0000000..a61f7e6 --- /dev/null +++ b/examples/content/pkoszko.org_hello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/**", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello3/index.json b/examples/content/pkoszko.org_hello3/index.json new file mode 100644 index 0000000..d0e00d0 --- /dev/null +++ b/examples/content/pkoszko.org_hello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/***", +"payload" : ["bag", "hello_pear_and_pineapple"] +} diff --git a/examples/content/pmyfsfhello1/index.json b/examples/content/pmyfsfhello1/index.json new file mode 100644 index 0000000..d151f1b --- /dev/null +++ b/examples/content/pmyfsfhello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org", +"payload" : ["bag", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello2/index.json b/examples/content/pmyfsfhello2/index.json new file mode 100644 index 0000000..2bd0be3 --- /dev/null +++ b/examples/content/pmyfsfhello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org/", +"payload" : ["script", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello3/index.json b/examples/content/pmyfsfhello3/index.json new file mode 100644 index 0000000..ba0a126 --- /dev/null +++ b/examples/content/pmyfsfhello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.fsf.org/", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/shello_apple/hello.js b/examples/content/shello_apple/hello.js new file mode 100644 index 0000000..b6b1a02 --- /dev/null +++ b/examples/content/shello_apple/hello.js @@ -0,0 +1 @@ +console.log("hello, apple!"); diff --git a/examples/content/shello_apple/index.json b/examples/content/shello_apple/index.json new file mode 100644 index 0000000..c52c32c --- /dev/null +++ b/examples/content/shello_apple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_apple", +"sha256" : "d349309ba674c092a7d03cd5ecc90c6370402482286db28b3d32d86052b6cf69", +"location" : "hello.js" +} diff --git a/examples/content/shello_cucumber/hello.js b/examples/content/shello_cucumber/hello.js new file mode 100644 index 0000000..b285094 --- /dev/null +++ b/examples/content/shello_cucumber/hello.js @@ -0,0 +1 @@ +console.log("hello, cucumber!"); diff --git a/examples/content/shello_cucumber/index.json b/examples/content/shello_cucumber/index.json new file mode 100644 index 0000000..788d51e --- /dev/null +++ b/examples/content/shello_cucumber/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_cucumber", +"sha256" : "1d65dda24c08e928cfd06a98b57def4599ff4cfe85e01e517d852a87feb03111", +"location" : "hello.js" +} diff --git a/examples/content/shello_pear/hello.js b/examples/content/shello_pear/hello.js new file mode 100644 index 0000000..0e98fdd --- /dev/null +++ b/examples/content/shello_pear/hello.js @@ -0,0 +1 @@ +console.log("hello, pear!"); diff --git a/examples/content/shello_pear/index.json b/examples/content/shello_pear/index.json new file mode 100644 index 0000000..65d8d61 --- /dev/null +++ b/examples/content/shello_pear/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pear", +"sha256" : "f61c50e1b977235260ee8b708b31ee003b1585afbe228cee6a0d754357e24b7e", +"location" : "hello.js" +} diff --git a/examples/content/shello_pineapple/hello.js b/examples/content/shello_pineapple/hello.js new file mode 100644 index 0000000..3632e67 --- /dev/null +++ b/examples/content/shello_pineapple/hello.js @@ -0,0 +1 @@ +console.log("hello, pineapple!"); diff --git a/examples/content/shello_pineapple/index.json b/examples/content/shello_pineapple/index.json new file mode 100644 index 0000000..f75935a --- /dev/null +++ b/examples/content/shello_pineapple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pineapple", +"sha256" : "f53bde306e0774618a1c9e12cb62175fbca90779c79d812a699b54c125c1634a", +"location" : "hello.js" +} -- cgit v1.2.3