Open SheepTester opened 5 years ago
See changes for 16-9
in:
Ok vim is cool. Create a new terminal tab using :tab terminal
; close the current tab using :q
; ctrl + W then N to enter command, then press i to continue using the terminal
To paste, shift + insert (or shift + fn + forward delete)
TODO: Maybe https://yarnpkg.com/features/workspaces is better
npm install -g npm-safe-install
git clone --depth=1 https://github.com/SheepTester/scratch-svg-renderer.git
cd scratch-svg-renderer
git remote add upstream https://github.com/LLK/scratch-svg-renderer.git
git fetch --depth=1 upstream develop
npm link
cd ..
git clone --depth=1 https://github.com/SheepTester/scratch-paint.git
cd scratch-paint
git remote add upstream https://github.com/LLK/scratch-paint.git
git fetch --depth=1 upstream develop
npm link
cd ..
git clone --depth=1 https://github.com/SheepTester/scratch-vm.git
cd scratch-vm
git remote add upstream https://github.com/LLK/scratch-vm.git
git fetch --depth=1 upstream develop
npm link
npm link scratch-svg-renderer
cd ..
git clone --depth=1 https://github.com/SheepTester/scratch-gui.git
cd scratch-gui
git remote add upstream https://github.com/LLK/scratch-gui.git
git fetch --depth=1 upstream develop
npm link scratch-svg-renderer scratch-paint scratch-vm
nsi
Note: npm link
seems to also do npm install
Note: I had to do nsi -- --legacy-peer-deps
for some reason
Tip: Use GitHub's web interface to merge from upstream, then git pull
# Starting from the eyangicques folder
cd scratch-svg-renderer
nsi && npm run build &
cd ..
cd scratch-paint
nsi && npm run build &
cd ..
cd scratch-vm
nsi && npm run build &
cd ..
cd scratch-gui
npm start
then git pull
btw
explorer .
opens pwd in windows explorer in git bash, pretty coolCloning
Use
--depth
to make cloning/fetching faster?Update
Run
git fetch upstream develop
thengit merge upstream/develop
when in the proper branch (16-9
orvanilla-vm-min
).If
package-lock.json
gets annoying and causes a phatte merge conflict, dogit checkout --theirs package-lock.json
(seems like you'll also have to dogit add package-lock.json
afterwards)Then do
nsi
from npm-safe-install, notnpm install
because it breaks links.Start
In each of the other repos,
npm run watch
if you intend to modify them, ornpm run build
once if you don't intend on editing the repoIf it fails because of something to do with
schema-utils
, runnsi
once more and try again.Then, run
npm start
in gui; http://localhost:8601/Publish
(no longer needed because #31)-a
is important to not overwrite/16-9/
(see 5053304ef964432fe9634b767cf96a044599cd01); this is what-a
does(
npm run deploy -- -e branch-name
will publish to/branch-name/
)vm.min.js
Used by the HTMLifier, available at https://sheeptester.github.io/scratch-vm/vm.min.js
E羊icques
Vanilla