qbuild 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -4
- data/lib/qbuild.rb +0 -2
- data/lib/qbuild/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26d8ee61617c0d994cef042b718d440e76a794e2
|
4
|
+
data.tar.gz: c74381af36d10ee97e09be0477ef470e83a5eb2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6dd3c3285f5e074d0bbec9e40fdf4e44119d0641a91d9d616cc053dd42f4e8a449d592bcb364e803a91bc5ed73d770a6a112114d1a125b97b128edc9c48fcaa
|
7
|
+
data.tar.gz: 26021da72f8483764fa7f4f4f9cc0a4bf7d30db5a336df67859c2eb47fae69180e7be1e15128f52e9980bd5c3467488537d82440cfbef2a8e7652302eca4e187
|
data/README.md
CHANGED
@@ -1,18 +1,40 @@
|
|
1
1
|
# Qbuild
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/qbuild.svg)](https://badge.fury.io/rb/qbuild)
|
4
|
+
|
5
|
+
Qbuild is an easy build system (*bordering on naive, some could say*) for minifying JavaScript, transpiling [SCSS](http://sass-lang.com) into CSS, and minifying CSS into one stylesheet.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
|
-
|
9
|
+
Qbuild is a Ruby gem. Make sure you have a recent version of Ruby installed (>=2.2.2) and simply issue the following command in your terminal:
|
10
|
+
|
11
|
+
`gem install qbuild`
|
12
|
+
|
13
|
+
**Note**: Qbuild has not been tested on Windows. It would likely not work.
|
8
14
|
|
9
15
|
## Usage
|
10
16
|
|
11
|
-
|
17
|
+
`cd` into the root of your web or [Electron](http://electron.atom.io) project. Create a default Qbuild config file with:
|
18
|
+
|
19
|
+
`qbuild --init` (or `qbuild -i`)
|
20
|
+
|
21
|
+
You can review the current options with `qbuild --options` (or `qbuild -o`). If you want to change some parameters, edit `.qbuild.json` located in the root of your project.
|
22
|
+
|
23
|
+
To build your project, use `qbuild run`
|
24
|
+
|
25
|
+
You will notice `pre_build` and `post_build` keys in the config file. They are arrays you can use to issue any command you wish to run before and after build.
|
26
|
+
|
27
|
+
**Note**: Make sure you add your `.css` and `.scss` files in the `stylesheet_filenames` array in the correct order they should be built.
|
28
|
+
|
29
|
+
**Note**: I'm currently writing a (really simple, really naive) tutorial on Qbuild.
|
12
30
|
|
13
31
|
## Contribute
|
14
32
|
|
15
|
-
|
33
|
+
Before submitting a pull request, please [get in touch](https://twitter.com/nicoschuele) first.
|
34
|
+
|
35
|
+
## Credits
|
36
|
+
|
37
|
+
Qbuild uses [Uglifier](https://github.com/lautis/uglifier) and [Sass](https://github.com/sass/sass) to work its magic.
|
16
38
|
|
17
39
|
## License
|
18
40
|
|
data/lib/qbuild.rb
CHANGED
data/lib/qbuild/version.rb
CHANGED