Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

Added Makefile #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added Makefile #84

wants to merge 2 commits into from

Conversation

noumaans
Copy link

@noumaans noumaans commented Mar 9, 2018

Added a traditional Makefile which can take over existing tasks of gulpfile.

Why?

  1. No need for gulp and dealing with gulp issues - why use a JS based tool to solve a build problem that has been solved in *nix world for decades.
  2. Existing gulpfile was causing livesync issues with TNS 4.
  3. Gulpfile is copying more files than necessary during directory copy, which:
    a) causes file clobbering during writes
    b) explicitly is not copying over fonts - they were being copied implicitly during directory copy, so when user goes to webpack they may not realize the fonts directory needs to get bundled as well.
  4. Makefile executes about 25% faster on my particular project.
  5. Ability to add more capabilities to Makefile in future to generate other items needed by {N} apps such as assets, launch screen, etc.

Limitations:

  1. Tested on macOS (code should run on Linux / BSD systems - no Windows computers available to test)
  2. Currently only supports prepTablet dependencies. Plan on future to add prepPhone support.

noumaans added 2 commits March 8, 2018 17:00
Added a traditional Makefile which can take over existing tasks of gulpfile.

Why?
1. No need for gulp and dealing with gulp issues - why use a JS based tool to solve a build problem that has been solved in *nix world for decades.
2. Existing gulpfile was causing livesync issues with TNS 4.
3. Gulpfile is copying more files than necessary during directory copy, which:
a) causes file clobbering during writes
b) explicitly is not copying over fonts - they were being copied implicitly during directory copy, so when user goes to webpack they may not realize the fonts directory needs to get bundled as well.
4. Makefile executes about 25% faster on my particular project.
5. Ability to add more capabilities to Makefile in future to generate other items needed by {N} apps such as assets, launch screen, etc.

Limitations:
1. Tested on macOS (code should run on Linux / BSD systems - no Windows computers available to test)
2. Currently only supports prepTablet dependencies. Plan on future to add prepPhone support.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant