Commits

Shlomi Fish  committed e59421e

Add the sky configuration.

  • Participants
  • Parent commits 3fb0a3d

Comments (0)

Files changed (2)

File shlomif-settings/sky/App-Sky/app_sky_conf.yml

+---
+default_site: homepage
+sites:
+    homepage:
+        base_upload_cmd:
+            - 'rsync'
+            - '-a'
+            - '-v'
+            - '--progress'
+            - '--inplace'
+        dest_upload_prefix: 'hostgator:public_html/'
+        dest_upload_url_prefix: 'http://www.shlomifish.org/'
+        sections:
+            code:
+                basename_re: '\.(?:pl|pm|c|py|js|rb|rs)\z'
+                target_dir: 'Files/files/code/'
+            images:
+                basename_re: '\.(?:png|jpg|jpeg|gif)\z'
+                target_dir: 'Files/files/images/'
+            music:
+                basename_re: '\.(?:mp3|ogg|wav|aac|m4a)\z'
+                target_dir: 'Files/files/music/mp3-ogg/'
+            video:
+                basename_re: '\.(?:webm|flv|avi|mpeg|mpg|mp4|ogv)\z'
+                target_dir: 'Files/files/video/'

File shlomif-settings/sky/setup

+#!/bin/bash
+
+bn="App-Sky"
+conf_dir="$(cd "$(dirname "$0")" && pwd)"
+dest="$HOME/.config/Perl"
+
+if ! test -d "$dest" ; then
+    mkdir -p "$dest"
+fi
+
+dfull="$dest/$bn"
+if ! test -e "$dfull" ; then
+    ln -sf "$conf_dir/$bn" "$dfull"
+fi