summaryrefslogtreecommitdiff
path: root/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2014-04-14 14:40:57 -0400
committerJoey Hess2014-04-14 14:40:57 -0400
commitfc8d3fe541ab019ac545695fc829af9558c8b1ed (patch)
tree0a77949f5c525df5a0415cddd81dceea872bd7d2 /Propellor/Property
parenta69b2555c3d479d85d71580c16af1ff18cd0d584 (diff)
propellor spin
Diffstat (limited to 'Propellor/Property')
-rw-r--r--Propellor/Property/SiteSpecific/JoeySites.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs
index 7ef6e945..f409b09b 100644
--- a/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -188,3 +188,14 @@ annexRsyncServer = combineProperties "rsync server for git-annex autobuilders"
[ File.dirExists d
, File.ownerGroup d "joey" "joey"
]
+
+twitRss :: Property
+twitRss = combineProperties "twitter rss"
+ [ Git.cloned "joey" "git://git.kitenet.net/twitrss.git" dir Nothing
+ , check (doesFileExist $ dir </> "twitRss") $ userScriptProperty "joey"
+ [ "cd " ++ dir
+ , "ghc --make twitRss"
+ ]
+ ]
+ where
+ dir = "/srv/web/tmp.kitenet.net/twitrss"