Skip to content

Commit

Permalink
Merge pull request #42 from ProjectTorreyPines/make
Browse files Browse the repository at this point in the history
make r will clone repo without .jl extension

Simple fix, not asking for review.
  • Loading branch information
anchal-physics authored Apr 2, 2024
2 parents db59484 + 669bce1 commit 5cbfda8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ env_with_cloned_repo r:
-dvc pull
@echo "Creating Julia environment by creating local clones of dependent repositories"
@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" ../IMASDD$${ext}; \
julia --project=. -e 'using Pkg; Pkg.rm(["IMASDD"]); Pkg.develop(path="../IMASDD'$${ext}'"); Pkg.instantiate()'
-git clone "[email protected]:ProjectTorreyPines/IMASDD.jl.git" ../IMASDD; \
julia --project=. -e 'using Pkg; Pkg.rm(["IMASDD"]); Pkg.develop(path="../IMASDD"); Pkg.instantiate()'

env_with_git_url u:
@echo "Pulling sample files using dvc"
Expand Down

0 comments on commit 5cbfda8

Please sign in to comment.