Skip to content
This repository

fixed semicolon to get build working #100

Merged
merged 1 commit into from over 1 year ago

1 participant

Jon Schlinkert
Jon Schlinkert
Owner

No description provided.

Jon Schlinkert jonschlinkert merged commit 4e4b589 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 21, 2013
Jon Schlinkert jonschlinkert adds semicolon to get build working 2bb8a35
This page is out of date. Refresh to see the latest.

Showing 2 changed files with 1 addition and 338 deletions. Show diff stats Hide diff stats

  1. +1 1  tasks/assemble.js
  2. +0 337 test/actual/README.md
2  tasks/assemble.js
@@ -484,6 +484,6 @@ module.exports = function(grunt) {
484 484 break;
485 485 }
486 486 return reader;
487   - }
  487 + };
488 488
489 489 };
337 test/actual/README.md
Source Rendered
... ... @@ -1,337 +0,0 @@
1   -# [assemble v0.3.11](http://github.com/upstage/assemble) [![Build Status](https://travis-ci.org/upstage/assemble.png?branch=master)](https://travis-ci.org/upstage/assemble)
2   -
3   -> Get the rocks out of your socks. Assemble helps you _quickly launch static web projects_ by emphasizing a strong separation of concerns between structure, style, content and configuration.
4   -
5   -**Table of Contents**
6   -
7   -- [Getting Started](#getting-started)
8   -- [The "styles" task](#the-styles-task)
9   -- [Options](#options)
10   -- [Examples](#usage-examples)
11   -- [About](#about)
12   -- [Contributing](#contributing)
13   -- [Authors](#authors)
14   -- [Release History](#release-history)
15   -
16   -## Quick start
17   -
18   -Three quick start options are available:
19   -
20   -* [Download the latest release](https://github.com/upstage/assemble/zipball/master).
21   -* Clone the repo: `git clone git://github.com/upstage/assemble.git`.
22   -* Install with Twitter's [Bower](http://twitter.github.com/bower): `bower install assemble`.
23   -
24   -
25   -### Compile CSS and Run Tests
26   -`less-tests` provides convenient methods for compiling and running tests on LESS and CSS file. Before getting started, be sure to install [the required local dependencies](package.json):
27   -
28   -```
29   -$ npm install
30   -```
31   -
32   -When completed, you'll be able to run the various `grunt` commands provided:
33   -
34   -#### build - `grunt`
35   -Runs the Less.js compiler to rebuild the specified `/test/fixtures/*.less` files. Requires [Less.js](http://github.com/cloudhead/less.js) and [assemble-styles](http://github.com/assemble/assemble-styles).
36   -
37   -#### test - `grunt test`
38   -Runs jshint on JavaScripts and nodeunit tests on CSS file. Yeah, I know, but I'm hoping this will pave the way or inspire a better solution.
39   -
40   -#### watch - `grunt watch`
41   -This is a convenience method for watching all Less files and automatically re-building them whenever you save. Requires the [grunt-contrib-watch](http://github.com/gruntjs/grunt-contrib-watch) Grunt plugin.
42   -
43   -Should you encounter problems with installing dependencies or running the `grunt` commands, be sure to first uninstall any previous versions (global and local) you may have installed, and then rerun `npm install`.
44   -
45   -## Overview
46   -In your project's Gruntfile, the `styles` task is already configured with a number of build `targets`. This is for convenience to show you how to create your own tests:
47   -
48   -```js
49   -grunt.initConfig({
50   - // This is a task
51   - styles: {
52   - options: {
53   - // Task-specific options go here.
54   - },
55   - // This is a target
56   - example: {
57   - options: {
58   - // Target-specific options go here.
59   - },
60   - files: {
61   - 'dest/files': ['source/files/*.*']
62   - }
63   - }
64   - },
65   - jshint: {
66   - ...
67   - }
68   -});
69   -grunt.loadNpmTasks('styles');
70   -
71   -grunt.registerTask('default', [
72   - 'jshint',
73   - 'styles'
74   -]);
75   -```
76   -Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
77   -
78   -#### Fixtures
79   -`.less` source files.
80   -
81   -TBC...
82   -
83   -#### Expected
84   -`.css` files.
85   -
86   -TBC...
87   -
88   -#### Result
89   -Actual compiled `.css` files.
90   -
91   -TBC...
92   -
93   -
94   -## Options
95   -
96   -These options will be passed through directly to [Less.js][]. See the [Less.js documentation](http://github.com/cloudhead/less.js) for a list of supported options.
97   -
98   -#### paths
99   -Type: `String|Array`
100   -Default: _Directory of input files_
101   -
102   -Specifies directories to scan for `@import` directives when parsing. The default value is the directory of the specified source files. In other words, the `paths` option allows you to specify paths for your @import statements in the [styles](http://github.com/assemble/styles) task, as an alternative to specifying a path on every `@import` statement that appears throughout your LESS files. So instead of doing this:
103   -
104   -``` css
105   -@import "path/to/my/less/files/mixins/mixins.less";
106   -```
107   -you can do this:
108   -
109   -``` css
110   -@import "mixins.less";
111   -```
112   -#### compress
113   -Type: `Boolean`
114   -Default: _false_
115   -
116   -Specifies if we should compress the compiled css by removing some whitespaces.
117   -
118   -#### yuicompress
119   -Type: `Boolean`
120   -Default: _false_
121   -
122   -Compress output using cssmin.js.
123   -
124   -#### optimization
125   -Type: `Integer`
126   -Default: null
127   -
128   -Set the parser's optimization level. The lower the number, the less nodes it will create in the tree. This could matter for debugging, or if you want to access the individual nodes in the tree.
129   -
130   -#### strictImports
131   -Type: `Boolean`
132   -Default: _false_
133   -
134   -Force evaluation of imports.
135   -
136   -#### strictMaths
137   -Type: `Boolean`
138   -Default: _true_
139   -
140   -Force operations to be enclosed within parenthesis, `(2 / 6)`.
141   -
142   -#### strictUnits
143   -Type: `Boolean`
144   -Default: _true_
145   -
146   -Force strict evaluation of units. If set to `false` the compiler will not throw an error with operations such as `(3 * 1em)`.
147   -
148   -#### dumpLineNumbers
149   -Type: `String`
150   -Default: _false_
151   -
152   -Configures -sass-debug-info support.
153   -
154   -Accepts following values: `comments`, `mediaquery`, `all`.
155   -
156   -
157   -
158   -## Custom Options
159   -
160   -#### require
161   -Type: `String|Array`
162   -Default: _empty string_
163   -
164   -Specified files will be _prepended_ to the beginning of src files, **_not_** to the concatenated output. This feature is useful for "inlining" globaly-required LESS files, such as `variables` or `mixins`, so that _they do not need to be referenced with `@import` statements inside any individual files_.
165   -
166   -#### concat
167   -Type: `Boolean`
168   -Default: _true_
169   -
170   -Concatenate all source files by default. If you change the value to false, all source files will compile into individual files.
171   -
172   -#### lessrc
173   -Type: `String`
174   -Default value: `null`
175   -
176   -If this filename is specified, options defined therein will be used.
177   -
178   -``` javascript
179   -styles: {
180   - options: grunt.file.readJSON('.lessrc')
181   -}
182   -```
183   -The `.lessrc` file must be valid JSON and looks something like this:
184   -
185   -``` json
186   -{
187   - "require": null,
188   - "concat": false,
189   - "compress": false,
190   - "yuicompress": false,
191   - "optimization": 3,
192   - "strictImports": true,
193   - "dumpLineNumbers": false,
194   - "strictMaths": false,
195   - "strictUnits": false
196   -}
197   -```
198   -
199   -
200   -
201   -
202   -
203   -### Under Consideration
204   -
205   -#### globals
206   -Type: `Object`
207   -Default: _null_
208   -
209   -Data object for defining global variables inside the Gruntfile which will be accessible in LESS files. Templates can be used to
210   -
211   ----
212   -
213   -
214   -## Usage Examples
215   -
216   -#### Compile
217   -
218   -```javascript
219   -styles: {
220   - selectors_test: {
221   - files: {
222   - 'selectors.css': ['selectors.less']
223   - }
224   - }
225   -}
226   -```
227   -
228   -#### Concatenate and Compile
229   -
230   -As an alternative to using `@import` to "inline" `.less` files, you can specify an array of `src` paths and they will be concatenated.
231   -
232   -```javascript
233   -styles: {
234   - dist: {
235   - files: {
236   - 'test.css': ['reset.less', 'test.less']
237   - }
238   - }
239   -}
240   -```
241   -
242   -#### Compile multiple files individually
243   -
244   -You can specify multiple `destination: [source]` items in `files`.
245   -
246   -```javascript
247   -styles: {
248   - dist: {
249   - files: {
250   - 'test.css': ['test.less'],
251   - 'mixins.css': ['mixins.less']
252   - }
253   - }
254   -}
255   -```
256   -
257   -#### Custom Options
258   -
259   -In this example, the `paths` and `requires` options are used:
260   -
261   -```js
262   -styles: {
263   - development: {
264   - options: {
265   - paths: ['test/fixtures'],
266   - require: [
267   - 'globals/variables.less',
268   - 'globals/mixins.less'
269   - ]
270   - },
271   - files: {
272   - 'styles.css': ['styles.less']
273   - }
274   - },
275   - production: {
276   - options: {
277   - paths: ['assets/less'],
278   - yuicompress: true
279   - },
280   - files: {
281   - 'styles.min.css': ['styles.less']
282   - }
283   - }
284   -}
285   -```
286   -
287   -#### Concatenate and Compile
288   -
289   -Grunt supports filename expansion (also know as globbing) via the built-in [node-glob](https://github.com/isaacs/node-glob) and [minimatch](https://github.com/isaacs/minimatch) libraries. So Templates may be used in filepaths or glob patterns.
290   -
291   -```
292   -debug: {
293   - options: {
294   - paths: ['<%= less.debug.import %>']
295   - },
296   - src: ['<%= less.test.imports %>', 'test/fixtures/*.less'],
297   - dest: 'test/result/debug'
298   -}
299   -```
300   -For more on glob pattern syntax, see the [node-glob](https://github.com/isaacs/node-glob) and [minimatch](https://github.com/isaacs/minimatch) documentation.
301   -
302   -
303   -
304   -## Contributing
305   -In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
306   -
307   -
308   -## Authors
309   -**Jon Schlinkert**
310   -
311   -+ [http://twitter.com/jonschlinkert](http://twitter.com/jonschlinkert)
312   -+ [http://github.com/jonschlinkert](http://github.com/jonschlinkert)
313   -
314   -**Brian Woodward**
315   -
316   -+ [http://twitter.com/doowb](http://twitter.com/doowb)
317   -+ [http://github.com/doowb](http://github.com/doowb)
318   -
319   -## About
320   -This project uses the extremely flexible [assemble-styles](http://github.com/assemble/assemble-styles) Grunt plugin for compiling LESS to CSS. The `styles` plugin leverages JSON and underscore for defining any number of LESS "bundles", UI components, compressed stylesheets or themes.
321   -
322   -Visit [assemble-styles]() for more information.
323   -
324   -## Release History
325   -* Stardate &quot;705301.2&quot; v0.1.0 First commit.
326   -
327   -
328   -### Roadmap
329   -* nothing yet.
330   -
331   ----
332   -
333   -Authored by [assemble](https://github.com/assemble/assemble)
334   -
335   -_This file was generated with Grunt and [assemble](http://github.com/assemble/assemble) on Fri Mar 15 2013 22:05:56._
336   -
337   -

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.