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 :: Property
twitRss = combineProperties "twitter rss" twitRss = combineProperties "twitter rss"
[ Git.cloned "joey" "git://git.kitenet.net/twitrss.git" dir Nothing [ Git.cloned "joey" "git://git.kitenet.net/twitrss.git" dir Nothing
, check (doesFileExist $ dir </> "twitRss") $ userScriptProperty "joey" , check (not <$> doesFileExist (dir </> "twitRss")) $
[ "cd " ++ dir userScriptProperty "joey"
, "ghc --make twitRss" [ "cd " ++ dir
] , "ghc --make twitRss"
]
] ]
where where
dir = "/srv/web/tmp.kitenet.net/twitrss" dir = "/srv/web/tmp.kitenet.net/twitrss"