diff --git a/Makefile b/Makefile index d5c21c1622696f0ca5bb818dc2bf9718fb580f48..9c0c42af3a8fc8fcd5b85174d111b016d828a6b3 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,8 @@ sanity: sugarcube: (cd submodules/sugarcube-2/ && node build.js -6 -b 2) - cp submodules/sugarcube-2/build/twine2/sugarcube-2/format.js devTools/tweeGo/storyFormats/sugarcube-2/format.js + mv submodules/sugarcube-2/build/twine2/sugarcube-2/format.js devTools/tweeGo/storyFormats/sugarcube-2/format.js + (cd submodules/sugarcube-2/ && git diff master fc > sugarcube-fc-changes.patch) + mv submodules/sugarcube-2/sugarcube-fc-changes.patch devNotes/"sugarcube stuff"/sugarcube-fc-changes.patch .PHONY: all sanity git injectGitCommitHash sugarcube diff --git a/devNotes/sugarcube stuff/building SugarCube.md b/devNotes/sugarcube stuff/building SugarCube.md index a6c6b92edc76c95a12d13a1393b9b11cad149531..bcaf35ec75424725e4ab2e451d268c8c85c8489d 100644 --- a/devNotes/sugarcube stuff/building SugarCube.md +++ b/devNotes/sugarcube stuff/building SugarCube.md @@ -19,7 +19,7 @@ the PATH environment variable. The SC2 sources are a git submodule. -1. Get the sources: `git submodule update` +1. Get the sources: If it's the first time: `git submodule update --init --recursive`, afterwards `git submodule update` is enough. 2. Download required JavaScript libraries that are used during the build. Run the node package manager (npm) in the repository: `npm install` or `npm update`.