Skip to content

Commit 733cf40

Browse files
authored
Merge pull request #30 from nekonenene/update_readme_about_build
Update readme to describe building
2 parents 898cd1a + 49b385f commit 733cf40

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
## Table of Contents
3636
- [Quickstart](#quickstart)
3737
- [Documentation](#documentation)
38+
- [Build](#build)
3839
- [Supported Browsers](#supported-browsers)
3940
- [Changelog](#changelog)
4041
- [Testing](#testing)
@@ -66,6 +67,13 @@ Then run `npm run dev` to compile the documentation. When it finishes, open a ne
6667
### Documentation for previous releases
6768
Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases).
6869

70+
## Build
71+
If you want to build `materialize.css` or `materialize.js` from the latest commit, you can build the files with the following command after `npm install`. See `package.json` to check the current version like `1.0.0`.
72+
73+
```sh
74+
npm run release -- --oldver=<current_version> --newver=<new_version>
75+
```
76+
6977
## Supported Browsers:
7078
Materialize is compatible with:
7179

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"scripts": {
1919
"dev": "grunt monitor",
2020
"test": "grunt travis",
21+
"release": "grunt release",
2122
"precommit": "lint-staged"
2223
},
2324
"lint-staged": {

0 commit comments

Comments
 (0)