added execution on interact

This commit is contained in:
Yann Esposito (Yogsototh) 2014-04-19 08:55:11 +02:00
parent b09dd99e26
commit 378b42b585
2 changed files with 3 additions and 2 deletions

View file

@ -2,13 +2,13 @@
-- see http://haskell.org/cabal/users-guide/
name: holy-project
version: 0.1.0.1
version: 0.1.1.0
synopsis: Start your Haskell project with cabal, git and tests.
description: Holy Project is an application wich ask the user
some questions and create files to help you
starting a new Haskell project.
There are example for tests using HUnit and SmallCheck
It initialize git, use cabal sandboxes, and provide
It initializes git, use cabal sandboxes, and provide
two useful scripts: \"auto-update\" and \"interact\".
homepage: http://github.com/yogsototh/holy-project
license: MIT

View file

@ -196,6 +196,7 @@ createProject p = do
]
-- Change some execution access
_ <- setFileMode "auto-update" ((fst . head . readOct) "777")
_ <- setFileMode "interact" ((fst . head . readOct) "777")
-- Execute some commands
-- We don't really need them to be succesful
-- So we try them anyway