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
24
35all : website
46
57clean :
68 rm -rf ./out
79
810install :
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
1019
1120website : clean install
1221 spec-generator -c .config.json
You can’t perform that action at this time.
0 commit comments