a-game

2D platformer written from scratch.
Log | Files | Refs | README | LICENSE

commit 2724c1160cc9ae15cbe45893632ad034251d939a
parent 6e3cfe42c77892e3be5be8f39c437511289b6a13
Author: Amin Mesbah <dev@aminmesbah.com>
Date:   Fri,  8 Nov 2019 23:39:43 -0800

Add source code link in comment in wasm html

Diffstat:
Mbuild_wasm.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/build_wasm.sh b/build_wasm.sh @@ -47,3 +47,7 @@ wasm-ld \ rm $wasm_dir/*.o rm $wasm_dir/*.bc + +current_commit=$(git rev-parse HEAD) +echo "<!-- Source Code: https://git.amin.space/a-game/tree/?id=$current_commit -->" \ + >> $wasm_dir/index.html