Closed lottspot closed 7 years ago
what do y'all think of this workflow @modpluz @crsmyz
lgtm 👍
I've got a question not related to this PR. With regards to travis build job, wouldn't make
already do what the commands after line #480 does? Redundancy perhaps?
This scaffolding lends itself to a workflow where each page is mapped to a different JS module. The module for that page is then expected to export a single function which accepts a single argument, that argument being the core module. The specific steps for adding a page with executing JS code:
${pageName}.html
under thesrc/html
directory${pageName}.html
undersrc/js
. This module should export a function which accepts the core object as an argument (seeindex.js
for an example).src/js/entrypoint.js
using theentrypointMap
object (seeentrypointMap
inentrypoint.js
for an example).JS_SRCS
in the MakefileBUILD_FILES
in the Makefile