propellor spin

This commit is contained in:
Joey Hess 2014-04-14 14:43:04 -04:00
parent fc8d3fe541
commit 6808fe60e1
Failed to extract signature
1 changed files with 5 additions and 4 deletions

View File

@ -192,10 +192,11 @@ annexRsyncServer = combineProperties "rsync server for git-annex autobuilders"
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"
]
, check (not <$> doesFileExist (dir </> "twitRss")) $
userScriptProperty "joey"
[ "cd " ++ dir
, "ghc --make twitRss"
]
]
where
dir = "/srv/web/tmp.kitenet.net/twitrss"