mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
chore: use bash instead of sh syntax highlighting
This commit is contained in:
parent
c708ab504f
commit
394718bcd4
1 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ you know what you are doing.
|
||||||
|
|
||||||
Allow the `.envrc`:
|
Allow the `.envrc`:
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
direnv allow
|
direnv allow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Here's how to do it locally.
|
||||||
|
|
||||||
First, we need to build the site. Run
|
First, we need to build the site. Run
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
hakyll-site build
|
hakyll-site build
|
||||||
|
|
||||||
# sometimes, we need to ignore the cache if things aren't working
|
# sometimes, we need to ignore the cache if things aren't working
|
||||||
|
@ -51,7 +51,7 @@ In the directory, there is a `node_modules` symlink to
|
||||||
`result/lib/node_modules`. If we build the `nodeDeps` package, the
|
`result/lib/node_modules`. If we build the `nodeDeps` package, the
|
||||||
`node_modules` will be made available at this path. So, run the following:
|
`node_modules` will be made available at this path. So, run the following:
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
nix build .#nodeDeps
|
nix build .#nodeDeps
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ need to re-run the above command or else node_modules will not be accessible.
|
||||||
|
|
||||||
Finally, run the following to generate the bundled CSS and JS files.
|
Finally, run the following to generate the bundled CSS and JS files.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
rollup -c
|
rollup -c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue