Skip to content

Commit 1e631b7

Browse files
committed
fixed user guide generation script on mac + removed package-lock.json
1 parent b776191 commit 1e631b7

File tree

5 files changed

+11944
-14946
lines changed

5 files changed

+11944
-14946
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ $ yarn
1414
$ ./generate_user_guides.sh
1515
```
1616

17-
This command reads the templates directory and extracts specific instructions for bevy / rust / rapier integrations.
17+
Above command reads the templates directory and extracts specific instructions for bevy / rust / rapier integrations.
1818
It also injects code contained in the example files.
1919

2020
```sh
2121
$ yarn build
2222
```
2323

24-
This command generates static content into the `build` directory and can be served using any static contents hosting service.
24+
Above command generates static content into the `build` directory and can be served using any static contents hosting service.
2525

2626
```sh
2727
$ yarn start
2828
```
2929

30-
This command builds and starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
30+
Above command builds and starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
3131

3232
### Deployment
3333

generate_user_guides.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/bin/bash
22
set -v
33

4-
if [ gsed -v ]; then
4+
if gsed --help > /dev/null 2>&1; then
55
gsed=gsed
6+
echo "gsed found: using gsed."
67
else
78
# Hopefully installed sed is the gnu one.
89
# note: aliases work poorly with xargs.
910
gsed=sed
11+
echo "gsed not found: using sed."
1012
fi
1113

1214
mkdir -p docs/user_guides/rust/

0 commit comments

Comments
 (0)