Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The package's Project.toml file should only include the dependencies actually used in the source code of the package itself #18

Merged
merged 1 commit into from
May 7, 2022

Conversation

DilumAluthge
Copy link
Member

The package's Project.toml file should only include the dependencies actually used in the source code of the package itself.

For dependencies that are used during development, instead of adding them to the package's Project.toml file, you can add them to your default global environment.

Example usage:

git clone [email protected]:bcbi/PreprocessMD.jl.git
cd PreprocessMD.jl
julia -e 'import Pkg; Pkg.add("REPLHistory")' # this installs REPLHistory.jl in your global environment, NOT in the package's environment
julia --project -e 'import Pkg; Pkg.add("DataFrames")' # this installs DataFrames.jl in the package's environment

See also:

@DilumAluthge DilumAluthge requested a review from AshlinHarris May 7, 2022 07:37
@codecov
Copy link

codecov bot commented May 7, 2022

Codecov Report

Merging #18 (46242dd) into main (67b4df8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           26        26           
=========================================
  Hits            26        26           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67b4df8...46242dd. Read the comment docs.

…s actually used in the source code of the package itself
@DilumAluthge DilumAluthge merged commit b7aee79 into main May 7, 2022
@DilumAluthge DilumAluthge deleted the dpa/dependencies branch May 7, 2022 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant