Commit eeea3ed7 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add directions to Package submodules.

parent 5a4b1726
{-# LANGUAGE NoImplicitPrelude #-}
module Package (
) where
module Package (packageRules) where
import Package.Base
import Package.Data
import Package.Dependencies
-- These are the packages we build
-- See Package.Base for definitions of basic types
packages :: [Package]
packages = [libraryPackage "deepseq" Stage1 defaultSettings]
-- Rule buildXY is defined in module X.Y
buildPackage :: Package -> TodoItem -> Rules ()
buildPackage pkg todoItem = do
buildPackageData pkg todoItem
......@@ -18,8 +17,7 @@ buildPackage pkg todoItem = do
packageRules :: Rules ()
packageRules = do
want ["libraries/deepseq/dist-install/build/deepseq.m"]
want ["libraries/deepseq/dist-install/build/deepseq.m"] -- TODO: control targets from commang line arguments
forM_ packages $ \pkg -> do
forM_ (pkgTodo pkg) $ \todoItem -> do
buildPackage pkg todoItem
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment