Commit graph

3639 commits

Author SHA1 Message Date
Dan Burton
28f80328ee Augment getStackageConfig with two more potential config sources 2015-05-12 15:50:50 -07:00
Chris Done
8c340c7397 Add parsePackageNameFromFilePath 2015-05-12 08:50:46 +02:00
Chris Done
1cba42548b Use MonadThrow instead of Maybe 2015-05-12 08:47:04 +02:00
Chris Done
c7e996e817 Fix parentAbs -> parent 2015-05-12 08:19:43 +02:00
Chris Done
ab75931e76 Use proper version types 2015-05-12 08:18:08 +02:00
Dan Burton
5cfe22b3a5 Redid Stackage.Config. Still has some stubs. 2015-05-11 23:02:40 -07:00
Chris Done
40dac7cbf4 Add JSON instances for GhcPkgId 2015-05-11 20:40:30 +02:00
Chris Done
f3d8d1d763 Add some additional functions 2015-05-11 20:07:35 +02:00
Dan Burton
9c11ab0063 Thread stackageRoot through some Config functions. 2015-05-11 09:39:11 -07:00
Chris Done
8898a27679 Expose constructors in Config 2015-05-11 09:28:24 +02:00
Chris Done
983f18966f Comment Config type 2015-05-11 09:26:34 +02:00
Chris Done
3e7c301ad0 Rename Package fields appropriately 2015-05-11 09:25:19 +02:00
Chris Done
d84d2f04dc Simple reformat 2015-05-11 09:22:01 +02:00
Chris Done
2cfff0e244 Stop using Data.Version and cabal PackageName 2015-05-11 09:21:20 +02:00
Chris Done
ca18e2cd87 Port to path package 2015-05-11 09:13:54 +02:00
Dan Burton
04beea7594 Partial impl of Stackage.Config and Stackage.Environment 2015-05-10 12:54:26 -07:00
Tristan Webb
693d4530f1 renamed type FPException to PackageException, and all constructors 2015-05-07 10:03:54 -07:00
Tristan Webb
81fccaf0c5 Added Stackage.PackageIdentifier to other-modules in cabal file 2015-05-06 17:23:48 -07:00
Chris Done
0f33e3f3c9 Add BuildPlan and Config stubs 2015-05-06 18:26:16 +02:00
Chris Done
b9ff81aae3 Better process reading interface 2015-05-06 15:37:40 +02:00
Tristan Webb
1b13a3dd5e renamed getPackage to readPackage and refactored to new API 2015-05-05 17:40:17 -07:00
Dan Burton
fe07a5790b remove dependency on stackage-build 2015-05-05 15:23:50 -07:00
Dan Burton
244c7f4535 git ignore cabal.sandbox.config 2015-05-05 15:23:36 -07:00
Chris Done
365c976e8a Exports 2015-05-04 12:26:41 +02:00
Chris Done
4e7102945a Re-organize into separate modules 2015-05-04 12:09:30 +02:00
Chris Done
4006f57460 Add basic Cabal module to Package 2015-04-30 13:40:23 +02:00
Chris Done
272addf633 Use Word 2015-04-30 12:37:16 +02:00
Chris Done
cc6046ee7b Simplify PackageVersion into unboxed vector 2015-04-30 12:33:59 +02:00
Chris Done
4cba2458e5 Add docs 2015-04-30 12:09:54 +02:00
Chris Done
220f37f5c2 Update copyright 2015-04-30 12:09:18 +02:00
Chris Done
37ff6890cb Update cabal file 2015-04-30 12:08:38 +02:00
Chris Done
f916c0bcfc Small reformat 2015-04-30 12:07:17 +02:00
Chris Done
b07a6b8fbd Complete GhcPkg reimplementation 2015-04-30 12:06:15 +02:00
Chris Done
1f205601b9 Basic getAllPackages command 2015-04-30 11:44:31 +02:00
Chris Done
235f3c6696 Improved package name parsing 2015-04-30 11:31:51 +02:00
Chris Done
972c2ed5a3 Add Stackage.Package 2015-04-29 23:04:02 +02:00
Chris Done
a31d0c5934 Basic package name parser 2015-04-29 22:50:02 +02:00
Chris Done
3993724072 Basic types layout 2015-04-29 22:42:53 +02:00
Chris Done
cb95f21855 First commit 2015-04-29 21:47:45 +02:00