Skip to content

Commit

Permalink
Update commands, see phetsims/chipper#1353
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 13, 2022
1 parent a81b524 commit 336d365
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

npm install
cd ../
# Prevent creating package-lock.json
npm config set package-lock false

# Clone dependencies
git clone https://github.com/phetsims/assert.git
git clone https://github.com/phetsims/axon.git
git clone https://github.com/phetsims/babel.git
Expand All @@ -24,15 +26,22 @@ git clone https://github.com/phetsims/tandem.git
git clone https://github.com/phetsims/twixt.git
git clone https://github.com/phetsims/utterance-queue.git

cd chipper
# NPM install
cd gravity-and-orbits
npm install

cd ../chipper
npm install

cd ../perennial-alias
npm install

cd ../gravity-and-orbits
npm install -g grunt-cli

# Build the sim with options for a speed boost
grunt --lint=false --minify.minify=false

# HTTP Server runs from the root directory ../workspaces/
cd ../
npm install http-server

0 comments on commit 336d365

Please sign in to comment.