Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 6f0aa11

Browse files
committed
Update README.md due to droping Grunt from build process
1 parent f9cd6b6 commit 6f0aa11

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

README.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ __Enjoy__
1919

2020
### Updating or building manually
2121

22-
Currently the build is for fine-uploader `v5.0.9`.
22+
Currently the build is for fine-uploader `v5.1.3`.
2323
You can build yourself by doing the following
2424

2525
##### Prepping (getting fine-uploader)
2626

2727
```bash
28-
$ git clone https://github.com/feryardiant/fineuploader-dist.git
29-
& cd fineuploader-dist
30-
$ git submodule init
31-
$ git submodule update
28+
$ git clone --recursive https://github.com/feryardiant/fineuploader-dist.git
3229
```
3330

3431
OR, if you already cloned this repo;
@@ -43,12 +40,10 @@ $ git submodule foreach git pull origin
4340
> In your terminal please navigate to where the project is cloned
4441
4542
```bash
46-
$ cd fineuploader-dist
47-
$ npm install
48-
$ cd src
43+
$ cd fineuploader-dist/src
4944
$ npm install # I don't thinks it's a best idea but, you need to do this in order to install all of fine-uploader dependencies (let me know if you have better one)
5045
$ cd .. # when all done, get back to the root directory
51-
$ grunt
46+
$ ./build.sh <version> # e.g: ./build.sh 5.1.3
5247
```
5348

5449
> You should now see these files within the `dist` directory

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ git checkout master && git branch -D "v${version}"
3131

3232
echo 'Update version number'
3333
cd ..
34-
sed -i -e "s/[0-9].[0-9].[0-9]/${version}/" *.json
34+
sed -i -e "s/[0-9].[0-9].[0-9]/${version}/" bower.json
35+
sed -i -e "s/[0-9].[0-9].[0-9]/${version}/" README.md

0 commit comments

Comments
 (0)