Commits

Sebastien Mondet committed 80c5353

build: compile everything to one HTML file

Comments (0)

Files changed (1)

  • +6 -1
    mk
     gl_FragColor = vec4( v_color * lighting + u_ambientLight, 1);
   }
 </script>
-    <script src="./webpdb.js"></script>
+    <script >
+EOF
+cat webpdb.js >> webpdb.html
+
+cat >> webpdb.html <<EOF
+</script>
   </head>
   <body>
     <canvas id="canvas" height="800" width="800"></canvas>