i'm new using makefile
(s) , i'd create command make package <package_name>
.
and i'd run following:
mkdir $package_name cd $package_name npm init -y mkdir src mkdir lib mkdir test
i'm little confused if should put in shell script or if can have directly in make file (which preferable), , unsure how have arguments in makefile
.
this it:
package: mkdir $(package_name) cd $(package_name) ; npm init -y ; mkdir src lib test
the whitespace @ beginning of line 2 tab, not 4 spaces. likewise line 3.