Skip to content

Commit

Permalink
Supressing cabal warnings by ensuring the library src directories exist
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Jun 29, 2015
1 parent 06620e8 commit 00bd437
Show file tree
Hide file tree
Showing 49 changed files with 5 additions and 1 deletion.
Empty file.
Empty file.
Empty file.
Empty file added amazonka-cloudhsm/src/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added amazonka-config/src/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file added amazonka-ds/src/.gitkeep
Empty file.
Empty file added amazonka-dynamodb/src/.gitkeep
Empty file.
Empty file added amazonka-ec2/src/.gitkeep
Empty file.
Empty file added amazonka-ecs/src/.gitkeep
Empty file.
Empty file added amazonka-efs/src/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added amazonka-elb/src/.gitkeep
Empty file.
Empty file added amazonka-emr/src/.gitkeep
Empty file.
Empty file added amazonka-glacier/src/.gitkeep
Empty file.
Empty file added amazonka-iam/src/.gitkeep
Empty file.
Empty file.
Empty file added amazonka-kinesis/src/.gitkeep
Empty file.
Empty file added amazonka-kms/src/.gitkeep
Empty file.
Empty file added amazonka-lambda/src/.gitkeep
Empty file.
Empty file added amazonka-ml/src/.gitkeep
Empty file.
Empty file added amazonka-opsworks/src/.gitkeep
Empty file.
Empty file added amazonka-rds/src/.gitkeep
Empty file.
Empty file added amazonka-redshift/src/.gitkeep
Empty file.
Empty file.
Empty file added amazonka-route53/src/.gitkeep
Empty file.
Empty file added amazonka-s3/src/.gitkeep
Empty file.
Empty file added amazonka-sdb/src/.gitkeep
Empty file.
Empty file added amazonka-ses/src/.gitkeep
Empty file.
Empty file added amazonka-sns/src/.gitkeep
Empty file.
Empty file added amazonka-sqs/src/.gitkeep
Empty file.
Empty file added amazonka-ssm/src/.gitkeep
Empty file.
Empty file.
Empty file added amazonka-sts/src/.gitkeep
Empty file.
Empty file added amazonka-support/src/.gitkeep
Empty file.
Empty file added amazonka-swf/src/.gitkeep
Empty file.
Empty file.
6 changes: 5 additions & 1 deletion gen/src/Gen/Tree.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ populate d Templates{..} l = (encodeString d :/) . dir lib <$> layout
where
layout :: Either Error [DirTree Touch]
layout = traverse sequenceA
[ dir "src" []
[ dir "src"
-- Supress cabal warnings about directories listed that don't exist.
[ touch ".gitkeep"
]

, dir "example"
[ dir "src"
[ touch (l ^. serviceAbbrev <> ".hs")
Expand Down

0 comments on commit 00bd437

Please sign in to comment.