foliage/app/Foliage
Andrea Bedini cbd0c5da8f
Minimal test suite (#81)
* Minimal test suite

- Add support for urls with file: schema; both absolute (file:/path) and
  relative (file:path) paths are supported.

- Log curl invocation in case of failure

- Rename fetchRemoteAsset to fetchURL

- Add verbosity flag

- Bump GHC to 9.4.7

- Bump flake inputs

* Apply suggestions from code review

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Add short option '-v' for '--verbosity'

* Whitespace

* Add comment explaining why the dot

* Rename withFixture to inTemporaryDirectoryWithFixture

* Small refactor of PrepareSource

* Rename TarballSource to URISource

- Move sourceUrl to Foliage.Meta.packageVersionSourceToUri

* Simplify inTemporaryDirectoryWithFixture

* Document tar and cp flags

* Reformat

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-15 12:18:30 +08:00
..
Meta Formatting with fourmolu 2023-09-14 15:53:59 +08:00
Utils Formatting with fourmolu 2023-09-14 15:53:59 +08:00
CmdBuild.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
CmdCreateKeys.hs Rename ImportHackage to ImportIndex 2022-05-19 15:03:42 +08:00
CmdImportIndex.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
FetchURL.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
HackageSecurity.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
Meta.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
Options.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
Pages.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
PreparePackageVersion.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
PrepareSdist.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
PrepareSource.hs Minimal test suite (#81) 2023-09-15 12:18:30 +08:00
Shake.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
Time.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00
UpdateCabalFile.hs Formatting with fourmolu 2023-09-14 15:53:59 +08:00