-
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.
Merge pull request #31 from ProjectTorreyPines/dev
Releasing v.0.2.0
- Loading branch information
Showing
13 changed files
with
1,357 additions
and
35 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,2 @@ | ||
#!/bin/bash | ||
julia -e 'using JuliaFormatter; format(".", verbose=true)' |
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,2 @@ | ||
*.mesh_ext.json | ||
|
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,38 @@ | ||
#!/bin/bash | ||
|
||
is_repo=$(git rev-parse --is-inside-work-tree 2>/dev/null) | ||
if [[ ${is_repo} == "true" ]] | ||
then | ||
SD4SOLPS_path="$(git rev-parse --show-toplevel)" | ||
project_path="$(dirname ${SD4SOLPS_path})" | ||
else | ||
SD4SOLPS_path="" | ||
project_path="$(dirname $(pwd))" | ||
fi | ||
echo "Cloning git repositories to "$project_path | ||
orig_path=$(pwd) | ||
cd $project_path | ||
if [[ -z $SD4SOLPS_path ]] | ||
then | ||
git clone git@github.com:ProjectTorreyPines/SD4SOLPS.jl.git | ||
SD4SOLPS_path=$project_path"/SD4SOLPS.jl" | ||
fi | ||
# in a for loop clone SynthDiag.jl SOLPS2IMAS.jl OMAS.jl GGDUtils.jl | ||
for repo in SynthDiag.jl SOLPS2IMAS.jl OMAS.jl GGDUtils.jl | ||
do | ||
if [[ ! -d $repo ]] | ||
then | ||
git clone "git@github.com:ProjectTorreyPines/"$repo".git" | ||
fi | ||
done | ||
cd $orig_path | ||
|
||
echo "Generating Project.toml and Manifest.toml" | ||
OMAS_path=$project_path"/OMAS.jl" | ||
EFIT_url="git@github.com:JuliaFusion/EFIT.jl.git" | ||
julia --project=. -e 'using Pkg; Pkg.develop(path="'$OMAS_path'"); Pkg.instantiate()' | ||
julia --project=. -e 'using Pkg; Pkg.add(url="'$EFIT_url'", rev="master"); Pkg.instantiate()' | ||
for repo in GGDUtils SOLPS2IMAS SynthDiag SD4SOLPS; do | ||
repo_path=$project_path"/"$repo".jl" | ||
julia --project=. -e 'using Pkg; Pkg.develop(path="'${repo_path}'"); Pkg.instantiate()' | ||
done |
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,11 @@ | ||
#!/bin/bash | ||
|
||
echo "Generating Project.toml and Manifest.toml" | ||
OMAS_url="git@github.com:ProjectTorreyPines/OMAS.jl.git" | ||
EFIT_url="git@github.com:JuliaFusion/EFIT.jl.git" | ||
julia --project=. -e 'using Pkg; Pkg.add(url="'$OMAS_url'", rev="master"); Pkg.instantiate()' | ||
julia --project=. -e 'using Pkg; Pkg.add(url="'$EFIT_url'", rev="master"); Pkg.instantiate()' | ||
for repo in GGDUtils SOLPS2IMAS SynthDiag SD4SOLPS; do | ||
repo_url="git@github.com:ProjectTorreyPines/"$repo".jl.git" | ||
julia --project=. -e 'using Pkg; Pkg.add(url="'$repo_url'", rev="master"); Pkg.instantiate()' | ||
done |
Oops, something went wrong.