bourbon_integrator 1.0.1 → 1.0.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a847075203abf5a4105ccd1c9f91c4c8e25b406
|
|
4
|
+
data.tar.gz: ef53a05a2223eb6bf49980a71a5c702ece5d8869
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a130a222c48ecfc99ea36f85b3914c43721e6cf3240e282c13ba1e2c197ebf25b737a923aa384622b18574bdbc5464577c8762d61caea077f606ce27ac639f4
|
|
7
|
+
data.tar.gz: 836cbc2b8ada47dd83bf7bb81d4683e5e1b6f95032dda6bf3c7da02783633134dbde7e818b6aea80fd4c3ee367fcefa15f49e2dac661213a02cd42b301b42055
|
data/CHANGELOG.md
CHANGED
|
@@ -25,7 +25,7 @@ module BourbonIntegrator
|
|
|
25
25
|
def run
|
|
26
26
|
@output.puts "*** Compile CSS ***"
|
|
27
27
|
@executor.system(
|
|
28
|
-
"sass --scss --style #{sass_style} --update #{sass_path}:#{stylesheets_path}"
|
|
28
|
+
"sass --scss --style #{sass_style} #{sourcemap} --update #{sass_path}:#{stylesheets_path}"
|
|
29
29
|
)
|
|
30
30
|
end
|
|
31
31
|
end
|
|
@@ -24,7 +24,9 @@ module BourbonIntegrator
|
|
|
24
24
|
class Watch < CommandTemplate
|
|
25
25
|
def run
|
|
26
26
|
@output.puts "*** Watching for changes ***"
|
|
27
|
-
@executor.exec
|
|
27
|
+
@executor.exec(
|
|
28
|
+
"sass --scss --style #{sass_style} #{sourcemap} --watch #{sass_path}:#{stylesheets_path}"
|
|
29
|
+
)
|
|
28
30
|
end
|
|
29
31
|
end
|
|
30
32
|
end
|
|
@@ -43,6 +43,10 @@ module BourbonIntegrator
|
|
|
43
43
|
@config.fetch("project_assets_verbose") ? "nested" : "compressed"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
def sourcemap
|
|
47
|
+
"--sourcemap=none" unless @config.fetch("project_assets_verbose")
|
|
48
|
+
end
|
|
49
|
+
|
|
46
50
|
def stylesheets_path
|
|
47
51
|
File.join(
|
|
48
52
|
@config.fetch("project_ui_dir"),
|