Skip to content

Commit 324b0de

Browse files
committed
docs: update install guides to use FoBiS fetch instead of submodules
Replace all references to recursive git clones and submodule initialization with plain `git clone` + `FoBiS.py fetch`. Also fix a copy-paste error in the README FoBiS dependency snippet (key was `PENF` pointing at the VecFor URL).
1 parent f0b8dab commit 324b0de

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ FoBiS.py install szaghi/VecFor -mode static-gnu --prefix /path/to/prefix
8484
```ini
8585
[dependencies]
8686
deps_dir = src/third_party
87-
PENF = https://github.com/szaghi/VecFor
87+
VecFor = https://github.com/szaghi/VecFor
8888
```
8989

9090
```bash

docs/guide/installation.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,12 @@ VecFor is developed on GNU/Linux. Windows should work out of the box but is not
1818

1919
## Download
2020

21-
VecFor uses **git submodules** for the [PENF](https://github.com/szaghi/PENF) dependency (portable numeric kind parameters). Clone recursively:
21+
Clone the repository and fetch the [PENF](https://github.com/szaghi/PENF) dependency automatically with FoBiS.py:
2222

2323
```bash
24-
git clone https://github.com/szaghi/VecFor --recursive
24+
git clone https://github.com/szaghi/VecFor
2525
cd VecFor
26-
```
27-
28-
If you already have a non-recursive clone:
29-
30-
```bash
31-
git submodule update --init --recursive
26+
FoBiS.py fetch # downloads PENF into src/third_party/
3227
```
3328

3429
### Minimal manual download
@@ -51,7 +46,7 @@ A minimal installation requires only `src/lib/vecfor.F90` (and PENF sources). Th
5146
│ │ ├── simple.f90 # Basic usage example
5247
│ │ └── kinds.f90 # Operator coverage test (all numeric kinds)
5348
│ └── third_party/
54-
│ └── PENF/ # Kind parameter definitions (git submodule)
49+
│ └── PENF/ # Kind parameter definitions (fetched by FoBiS.py)
5550
└── scripts/
5651
└── run_tests.sh # Test runner
5752
```

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ function projectdownload () {
4646
fi
4747

4848
if [ "$DOWNLOAD" == "git" ]; then
49-
git clone --recursive $GITHUB
49+
git clone $GITHUB
5050
cd $PROJECT
51-
git submodule update --init --recursive
51+
FoBiS.py fetch
5252
cd -
5353
elif [ "$DOWNLOAD" == "wget" ]; then
5454
wget $(curl -s https://api.github.com/repos/$USERNAME/$PROJECT/releases/latest | grep 'browser_' | cut -d\" -f4 | grep -i tar.gz)

0 commit comments

Comments
 (0)