]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
take advantage of cms7 yaml inclusion
authorEd Kellett <redacted>
Fri, 26 Feb 2016 05:07:15 +0000 (05:07 +0000)
committerEd Kellett <redacted>
Fri, 26 Feb 2016 05:07:52 +0000 (05:07 +0000)
config.yml
config/build.yml [new file with mode: 0644]

index 99167d97e9811041d92a0aa64019788b6657a14f..554d9e6cf2fb9485d4926ff8cf3c86d5482fc31e 100644 (file)
@@ -16,19 +16,4 @@ modules:
     source: pages
     root: pages
 resources:
-  - command: [cat]
-    source: static/fonts
-    output: out/static/fonts
-  - command: [cat]
-    source: static/img
-    output: out/static/img
-    recursive: True
-    pattern: '*.png'
-  - command: [svgo, -p, '7', -i, -, -o, -]
-    source: static/img
-    output: out/static/img
-    recursive: True
-    pattern: '*.svg'
-  - command: [myth, --compress, --]
-    source: static/css
-    output: out/static/css
+  !include config/build.yml
diff --git a/config/build.yml b/config/build.yml
new file mode 100644 (file)
index 0000000..6c4f830
--- /dev/null
@@ -0,0 +1,16 @@
+- command: [cat]
+  source: static/fonts
+  output: out/static/fonts
+- command: [cat]
+  source: static/img
+  output: out/static/img
+  recursive: True
+  pattern: '*.png'
+- command: [svgo, -p, '7', -i, -, -o, -]
+  source: static/img
+  output: out/static/img
+  recursive: True
+  pattern: '*.svg'
+- command: [myth, --compress, --]
+  source: static/css
+  output: out/static/css