Skip to content

Commit

Permalink
chore(core-styles): update local build steps
Browse files Browse the repository at this point in the history
These steps were based on Core-Styles in its own repo, where it had tags from which `git describe` could produce a build ID.

No tags in new repo, so simpler default build step, and do not mention `git describe`.
  • Loading branch information
wesleyboar committed Jun 23, 2022
1 parent 76c87b5 commit 48e4d3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libs/core-styles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,17 @@ If you changes files in a `src/lib/` directory, you may need to follow some of t
You can build stylesheets **from** source files **in** `src/lib` directory **to** compiled files **in** `dist` directory.
0. (Optional) Set version (for preserved comment):
1. Build stylesheets:
```bash
npm run version -- --build-id="$(git describe --always)"
```
```bash
npm run build
```
1. Build stylesheets:
**or**, for custom build id:
```bash
npm run build
```
```bash
npm run build -- --build-id="..."
```
## Testing
Expand Down

0 comments on commit 48e4d3e

Please sign in to comment.