Skip to content

Commit ec58d0a

Browse files
committed
Remove redundant build step from README
This can be removed as 'npm install' already calls the build step automatically in 'prepare'
1 parent 2ff6354 commit ec58d0a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ code below:
141141
git clone --depth=1 git@github.com:google/xrblocks.git
142142
cd xrblocks
143143

144-
# Install dependencies.
144+
# Install dependencies and build the SDK.
145145
npm ci
146146
```
147147

@@ -150,20 +150,21 @@ described below.
150150

151151
#### Serve samples and demos
152152

153-
Build once, then serve the repository to enable viewing samples and demos
154-
through `http://localhost:8080/`:
153+
Serve the repository to view samples and demos through
154+
`http://localhost:8080/`:
155155

156156
```bash
157-
npm run build # Build xrblocks.js once before serving
158-
npm run serve # Serve the repository on http://localhost:8080
157+
# Serve the repository on http://localhost:8080
158+
npm run serve
159159
```
160160

161161
#### Develop locally
162162

163163
For active SDK development, run watch mode and local serving together:
164164

165165
```bash
166-
npm run dev # Build xrblocks.js in watch mode and serve the repository on http://localhost:8080
166+
# Build the SDK in watch mode and serve the repository on http://localhost:8080
167+
npm run dev
167168
```
168169

169170
#### Linting and formatting

0 commit comments

Comments
 (0)