From fb63f840cc6ea98f45c47f81cd84f84b1f3d5047 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Sun, 8 May 2022 16:42:19 -0700 Subject: [PATCH 1/2] garden: add symbolic link to css.hoon --- pkg/garden/mar/css.hoon | 1 + 1 file changed, 1 insertion(+) create mode 120000 pkg/garden/mar/css.hoon diff --git a/pkg/garden/mar/css.hoon b/pkg/garden/mar/css.hoon new file mode 120000 index 0000000000..53211538d5 --- /dev/null +++ b/pkg/garden/mar/css.hoon @@ -0,0 +1 @@ +../../arvo/mar/css.hoon \ No newline at end of file From 7c646417b62d70419cf181c477caf630585d5fdc Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Mon, 9 May 2022 12:41:50 -0700 Subject: [PATCH 2/2] base-dev: add css.hoon, switch others to symlink --- pkg/arvo/mar/css.hoon | 22 +--------------------- pkg/base-dev/mar/css.hoon | 21 +++++++++++++++++++++ pkg/garden/mar/css.hoon | 2 +- 3 files changed, 23 insertions(+), 22 deletions(-) mode change 100644 => 120000 pkg/arvo/mar/css.hoon create mode 100644 pkg/base-dev/mar/css.hoon diff --git a/pkg/arvo/mar/css.hoon b/pkg/arvo/mar/css.hoon deleted file mode 100644 index c4810b2118..0000000000 --- a/pkg/arvo/mar/css.hoon +++ /dev/null @@ -1,21 +0,0 @@ -:: -:::: /hoon/css/mar - :: -/? 310 -=, eyre -=, mimes:html -|_ mud=@t -++ grow :: convert to - |% ++ mime [/text/css (as-octs mud)] :: convert to %mime - ++ elem ;style :: convert to %hymn - ;- (trip mud) - == - ++ hymn ;html:(head:"{elem}" body) - -- -++ grab - |% :: convert from - ++ mime |=([p=mite q=octs] (@t q.q)) - ++ noun @t :: clam from %noun - -- -++ grad %mime --- diff --git a/pkg/arvo/mar/css.hoon b/pkg/arvo/mar/css.hoon new file mode 120000 index 0000000000..dff5dfcd53 --- /dev/null +++ b/pkg/arvo/mar/css.hoon @@ -0,0 +1 @@ +../../base-dev/mar/css.hoon \ No newline at end of file diff --git a/pkg/base-dev/mar/css.hoon b/pkg/base-dev/mar/css.hoon new file mode 100644 index 0000000000..c4810b2118 --- /dev/null +++ b/pkg/base-dev/mar/css.hoon @@ -0,0 +1,21 @@ +:: +:::: /hoon/css/mar + :: +/? 310 +=, eyre +=, mimes:html +|_ mud=@t +++ grow :: convert to + |% ++ mime [/text/css (as-octs mud)] :: convert to %mime + ++ elem ;style :: convert to %hymn + ;- (trip mud) + == + ++ hymn ;html:(head:"{elem}" body) + -- +++ grab + |% :: convert from + ++ mime |=([p=mite q=octs] (@t q.q)) + ++ noun @t :: clam from %noun + -- +++ grad %mime +-- diff --git a/pkg/garden/mar/css.hoon b/pkg/garden/mar/css.hoon index 53211538d5..dff5dfcd53 120000 --- a/pkg/garden/mar/css.hoon +++ b/pkg/garden/mar/css.hoon @@ -1 +1 @@ -../../arvo/mar/css.hoon \ No newline at end of file +../../base-dev/mar/css.hoon \ No newline at end of file