JuliaLang / JuliaLang/PackageCompiler.jl
Precompile Script [extras] for Apps
- Dominant language
- Julia
- Stars
- 1.6k
- Forks
- 205
- Avg merge
- 18h 37m
- Merged PRs (30d)
- 7
Description
Can one build an app of a package which has an [extras] section? Meaning, I have a test script for my package/app which uses external dependencies (i.e. Test, ReferenceTests.jl, etc) that I would like to use for the precompile script.
For my current project, I get an error that "ReferenceTests is not found in the current path", but I've added this dependency to the [extras] section with the [targets] test = ["Test", "ReferenceTests", etc..]. Should this work for precompile scripts when building apps?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing an app build whose precompile script imports a dependency declared under [extras] and [targets]. Trace how PackageCompiler handles those dependencies during precompilation; done means the expected behavior is established and the failure is covered by a regression test or the issue is documented as unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100