qbuild 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0950972156cdc46e57489743403c62f5815e280
4
- data.tar.gz: 3eade37f1d566130f4a31ad1349599d0c6ae0218
3
+ metadata.gz: 26d8ee61617c0d994cef042b718d440e76a794e2
4
+ data.tar.gz: c74381af36d10ee97e09be0477ef470e83a5eb2b
5
5
  SHA512:
6
- metadata.gz: f1c46340f454eb02224cc3dc33323f49519a47c6e4b349f5febc1ad540afb3002139266efbf3625e97647563d664b50df92b0c1c577d8a154710db66505f9955
7
- data.tar.gz: e4b75dce9394c5fb9de85526b09054f6f8dc949cd22fc0dd589199890ec38c513c5c71fbd93e56a70c247ac61978657d3765d3124a2afe0bc795d8ed0aa1a8e8
6
+ metadata.gz: a6dd3c3285f5e074d0bbec9e40fdf4e44119d0641a91d9d616cc053dd42f4e8a449d592bcb364e803a91bc5ed73d770a6a112114d1a125b97b128edc9c48fcaa
7
+ data.tar.gz: 26021da72f8483764fa7f4f4f9cc0a4bf7d30db5a336df67859c2eb47fae69180e7be1e15128f52e9980bd5c3467488537d82440cfbef2a8e7652302eca4e187
data/README.md CHANGED
@@ -1,18 +1,40 @@
1
1
  # Qbuild
2
2
 
3
- ...coming soon...
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
- ...coming soon...
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
- ...coming soon...
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
- ...coming soon...
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
 
@@ -50,8 +50,6 @@ module Qbuild
50
50
  interval = PadUtils.interval(start_time, end_time, :seconds)
51
51
  puts
52
52
  PadUtils.puts_c "Completed in #{interval} seconds!", :green
53
- rescue
54
- PadUtils.puts_c 'Something went really wrong.', :red
55
53
  end
56
54
 
57
55
  def self.display_options
@@ -1,3 +1,3 @@
1
1
  module Qbuild
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Schuele