-
Notifications
You must be signed in to change notification settings - Fork 61
Labels
C-Moderate EffortShould take a moderate amount of time to address.Should take a moderate amount of time to address.Z-Developer ExperienceThis issue seeks to make life easier for developers writing Scenarios or other Swarm code.This issue seeks to make life easier for developers writing Scenarios or other Swarm code.Z-RefactoringThis issue is about restructuring the code without changing the behaviour to improve code quality.This issue is about restructuring the code without changing the behaviour to improve code quality.
Description
This is to simplify queries for .hs
files, whether it be in IDEs or in the terminal, using find
.
As is, the simplest find
command includes unwanted build artifacts:
$ find . -name *.hs
./src/swarm-lang/Swarm/Language/Typed.hs
./src/swarm-lang/Swarm/Language/LSP/VarUsage.hs
[...]
./dist-newstyle/build/x86_64-linux/ghc-9.6.4/swarm-0.5.0.0/l/swarm-lang/noopt/build/swarm-lang/autogen/PackageInfo_swarm.hs
./dist-newstyle/build/x86_64-linux/ghc-9.6.4/swarm-0.5.0.0/l/swarm-lang/noopt/build/swarm-lang/autogen/Paths_swarm.hs
[...]
./app/doc/Main.hs
./app/tournament/Main.hs
[...]
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4/build/swarm-tournament/autogen/PackageInfo_swarm.hs
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4/build/swarm-tournament/autogen/Paths_swarm.hs
[...]
whereas these could be excluded easily if all of the code lived underneath a single code
directory:
$ find code -name *.hs
Metadata
Metadata
Assignees
Labels
C-Moderate EffortShould take a moderate amount of time to address.Should take a moderate amount of time to address.Z-Developer ExperienceThis issue seeks to make life easier for developers writing Scenarios or other Swarm code.This issue seeks to make life easier for developers writing Scenarios or other Swarm code.Z-RefactoringThis issue is about restructuring the code without changing the behaviour to improve code quality.This issue is about restructuring the code without changing the behaviour to improve code quality.