-
Notifications
You must be signed in to change notification settings - Fork 723
Open
Description
... offer the option to install each standalone *.hs script by listing them as executables in the package.
Originally posted by @philderbeast in #10317 (comment)
Please allow at least single file, self contained executables to be run as scripts. I tried this with #10320 but was rebuffed with:
$ ./cabal-validate/main/Main.hs
Warning: this is a debug build of cabal-install with assertions enabled.
Resolving dependencies...
Error: [Cabal-7070]
The run command can only run an executable as a whole, not files or modules within them,
but the target 'main/Main.hs' refers to the file main/Main.hs in the executable cabal-validate.
Metadata
Metadata
Assignees
Labels
No labels