File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3838 @echo " exit - Exit development mode."
3939 @echo
4040
41+ node_modules :
42+ @npm install
43+
4144check : package.json book.json LANGS.md
4245 @if ! which node 1> /dev/null; then\
4346 echo " Error: Node.js not found" ; \
@@ -46,13 +49,11 @@ check: package.json book.json LANGS.md
4649 false ; \
4750 fi
4851
49- setup : check
52+ setup : node_modules check
5053 @if ! test -f " .langs" ; then\
5154 cp LANGS.md .langs && \
5255 echo " $( LANG_DATA) " > LANGS.md && \
5356 echo " You are set to $( LANG_NAME) for development" ; \
54- npm install && \
55- echo " Project is ready for development." ; \
5657 fi
5758
5859build : setup
@@ -69,7 +70,7 @@ dev: setup
6970
7071mode :
7172 @if test -f " .langs" ; then\
72- echo " You are in development mode" ; \
73+ echo " You are in development mode using the language $( LANG_NAME ) " ; \
7374 else\
7475 echo " You are not in development mode" ; \
7576 fi
You can’t perform that action at this time.
0 commit comments