-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from JuliaPluto/tests-from-pluto
- Loading branch information
Showing
9 changed files
with
1,026 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
""" | ||
# HOW THIS WORKS: | ||
the PackageSpec written in this file will be used to import Pluto during these tests. | ||
# DO I NEED IT? | ||
When developing PlutoDependencyExplorer, and you don't need matching changes from Pluto, then leave this file empty. | ||
In the special case that you need to make changes to PlutoDependencyExplorer and Pluto at the same time, you can use this file. | ||
# HOW TO USE IT | ||
## Step 1: | ||
If this change needs a matching Pluto change, set: | ||
```julia | ||
i_need_a_special_pluto_branch = true | ||
``` | ||
and continue to Step 2. Otherwise, set it to `false` and you're done. | ||
## Step 2: | ||
""" | ||
|
||
|
||
|
||
i_need_a_special_pluto_branch = true | ||
|
||
|
||
if i_need_a_special_pluto_branch | ||
if get(ENV, "CI", "🍄") == "true" | ||
Pkg.PackageSpec( | ||
name="Pluto", | ||
rev="PlutoDependencyExplorer-split", | ||
) | ||
else | ||
Pkg.PackageSpec( | ||
name="Pluto", | ||
path="/Users/fons/Documents/Pluto.jl" | ||
) | ||
end | ||
else | ||
nothing | ||
end | ||
|
||
|
Oops, something went wrong.