File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
- out /
1
+ out /
2
+ super-linter.log
Original file line number Diff line number Diff line change 1
- SPEC_GENERATOR_VER =v1.3.2
1
+ SPEC_GENERATOR_VER =1.3.2
2
+
3
+ .PHONY : install
2
4
3
5
all : website
4
6
5
7
clean :
6
8
rm -rf ./out
7
9
8
10
install :
9
- npm install -g spec-generator@$(SPEC_GENERATOR_VER )
11
+ @INSTALLED_VERSION=$$(spec-generator --version ) ; \
12
+ if [ " $$ INSTALLED_VERSION" != " $( SPEC_GENERATOR_VER) " ]; then \
13
+ echo " Installed version ($$ INSTALLED_VERSION) is different from the desired version ($( SPEC_GENERATOR_VER) )." ; \
14
+ echo " Installing spec-generator@v$( SPEC_GENERATOR_VER) " ; \
15
+ npm install -g spec-generator@v$(SPEC_GENERATOR_VER ) ; \
16
+ else \
17
+ echo " spec-generator is already installed at the desired version ($( SPEC_GENERATOR_VER) )." ; \
18
+ fi
10
19
11
20
website : clean install
12
21
spec-generator -c .config.json
You can’t perform that action at this time.
0 commit comments