-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
864319e
commit c7c3c1e
Showing
5 changed files
with
7 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,18 @@ env_with_cloned_repo r: | |
@echo "Cloning the repositories and generating Manifest.toml" | ||
-dn=$(shell dirname $(shell pwd)); \ | ||
if [[ "$${dn:(-10)}" == ".julia/dev" ]]; then ext="" ; else ext=".jl";fi; \ | ||
git clone "[email protected]:ProjectTorreyPines/IMASDD.jl.git" ../OMAS$${ext}; \ | ||
git clone "[email protected]:ProjectTorreyPines/IMASDD.jl.git" ../IMASDD$${ext}; \ | ||
git clone "[email protected]:ProjectTorreyPines/GGDUtils.jl.git" ../GGDUtils$${ext}; \ | ||
git clone "[email protected]:ProjectTorreyPines/SOLPS2IMAS.jl.git" ../SOLPS2IMAS$${ext}; \ | ||
julia --project=. -e 'using Pkg; Pkg.rm(["IMASDD", "GGDUtils", "SOLPS2IMAS", "EFIT"]); Pkg.develop(path="../IMASDD'$${ext}'"); Pkg.develop(path="../GGDUtils'$${ext}'"); Pkg.develop(path="../SOLPS2IMAS'$${ext}'"); Pkg.add(url="[email protected]:JuliaFusion/EFIT.jl.git", rev="master"); Pkg.instantiate()' | ||
julia --project=. -e 'using Pkg; Pkg.rm(["OMAS", "IMASDD", "GGDUtils", "SOLPS2IMAS", "EFIT"]); Pkg.develop(path="../OMAS'$${ext}'"); Pkg.develop(path="../IMASDD'$${ext}'"); Pkg.develop(path="../GGDUtils'$${ext}'"); Pkg.develop(path="../SOLPS2IMAS'$${ext}'"); Pkg.add(url="[email protected]:JuliaFusion/EFIT.jl.git", rev="master"); Pkg.instantiate()' | ||
|
||
env_with_git_url u: | ||
@echo "Pulling sample files using dvc" | ||
-dvc pull | ||
@echo "Creating Julia environment with the git urls without creating local clones" | ||
@echo "Generating Project.toml and Manifest.toml" | ||
julia --project=. -e 'using Pkg; Pkg.rm(["IMASDD", "GGDUtils", "SOLPS2IMAS", "EFIT"]); Pkg.add(url="[email protected]:ProjectTorreyPines/IMASDD.jl.git", rev="master"); Pkg.add(url="[email protected]:ProjectTorreyPines/GGDUtils.jl.git", rev="master"); Pkg.add(url="[email protected]:ProjectTorreyPines/SOLPS2IMAS.jl.git", rev="master"); Pkg.add(url="[email protected]:JuliaFusion/EFIT.jl.git", rev="master"); Pkg.instantiate()' | ||
julia --project=. -e 'using Pkg; Pkg.rm(["OMAS", "IMASDD", "GGDUtils", "SOLPS2IMAS", "EFIT"]); Pkg.add(url="[email protected]:ProjectTorreyPines/OMAS.jl.git", rev="master"); Pkg.add(url="[email protected]:ProjectTorreyPines/IMASDD.jl.git", rev="master"); Pkg.add(url="[email protected]:ProjectTorreyPines/GGDUtils.jl.git", rev="master"); Pkg.add(url="[email protected]:ProjectTorreyPines/SOLPS2IMAS.jl.git", rev="master"); Pkg.add(url="[email protected]:JuliaFusion/EFIT.jl.git", rev="master"); Pkg.instantiate()' | ||
|
||
clean: | ||
@echo "Deleting Manifest.toml" | ||
|
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