-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
438 additions
and
669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
*.swp | ||
.jhw-cache | ||
.DS_Store | ||
|
||
#ignore node_modules, as the node project is not "deployed" per se: http://www.mikealrogers.com/posts/nodemodules-in-git.html | ||
/node_modules | ||
|
||
/dist | ||
/generated | ||
|
||
.sass-cache |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
|
||
#ignore node_modules, as the node project is not "deployed" per se: http://www.mikealrogers.com/posts/nodemodules-in-git.html | ||
/node_modules | ||
|
||
/dist | ||
/generated | ||
|
||
.sass-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
language: ruby | ||
rvm: | ||
- 1.9.2 | ||
|
||
before_script: | ||
- "npm install -g coffee-script" | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
script: "lineman spec-ci" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/*global module:false*/ | ||
module.exports = function(grunt) { | ||
require(process.env['LINEMAN_MAIN']).config.grunt.run(grunt); | ||
}; |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Exports an object that defines | ||
# all of the configuration needed by the projects' | ||
# depended-on grunt tasks. | ||
# | ||
# You can familiarize yourself with all of Lineman's defaults by checking out the parent file: | ||
# https://github.com/testdouble/lineman/blob/master/config/application.coffee | ||
# | ||
|
||
# lineman-lib-template config options: | ||
|
||
includeVendorInDistribution = false #set to true if you want your distribution to contain JS files in vendor/js | ||
|
||
lineman = require(process.env["LINEMAN_MAIN"]) | ||
grunt = lineman.grunt | ||
_ = grunt.util._ | ||
application = lineman.config.extend "application", | ||
|
||
meta: | ||
banner: """ | ||
/* <%= pkg.name %> - <%= pkg.version %> | ||
* <%= pkg.description || pkg.description %> | ||
* <%= pkg.homepage %> | ||
*/ | ||
""" | ||
|
||
removeTasks: | ||
common: ["less", "handlebars", "jst", "images:dev", "webfonts:dev", "pages:dev"] | ||
dev: ["server"] | ||
dist: ["cssmin", "images:dist", "webfonts:dist", "pages:dist"] | ||
|
||
concat: | ||
uncompressedDist: | ||
options: | ||
banner: "<%= meta.banner %>" | ||
src: _([ | ||
("<%= files.js.vendor %>" if includeVendorInDistribution), | ||
"<%= files.coffee.generated %>", | ||
"<%= files.js.app %>" | ||
]).compact() | ||
dest: "<%= files.js.uncompressedDist %>" | ||
|
||
application.uglify.js.files = _({}).tap (config) -> | ||
config["dist/#{grunt.file.readJSON('package.json').name}.min.js"] = "<%= files.js.uncompressedDist %>" | ||
|
||
module.exports = application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Exports an object that defines | ||
# all of the paths & globs that the project | ||
# is concerned with. | ||
# | ||
# The "configure" task will require this file and | ||
# then re-initialize the grunt config such that | ||
# directives like <config:files.js.app> will work | ||
# regardless of the point you're at in the build | ||
# lifecycle. | ||
# | ||
# To see the default definitions for all of Lineman's file paths and globs, look at: | ||
# https://github.com/testdouble/lineman/blob/master/config/files.coffee | ||
# | ||
|
||
lineman = require(process.env["LINEMAN_MAIN"]) | ||
grunt = lineman.grunt | ||
|
||
module.exports = lineman.config.extend "files", | ||
js: | ||
uncompressedDist: "dist/#{grunt.file.readJSON('package.json').name}.js" | ||
spec: [ | ||
"spec/**/*.js", | ||
"!spec/prereq/**" | ||
] | ||
coffee: | ||
spec: [ | ||
"spec/**/*.coffee", | ||
"!spec/prereq/**" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"framework" : "jasmine", | ||
"launch_in_dev" : ["Chrome"], | ||
"launch_in_ci" : ["PhantomJS"], | ||
"src_files" : [ | ||
"spec/prereq/**/*.js", | ||
"generated/js/app.js", | ||
"generated/js/spec.js" | ||
] | ||
} |
Oops, something went wrong.