Skip to content
This repository
Browse code

Update meta files

  • Loading branch information...
commit f4bd84a68570315d019d49832116e342024995e8 1 parent 8150a9f
Benjamin Arthur Lupton balupton authored
12 .editorconfig
... ... @@ -1,14 +1,18 @@
1   -# EditorConfig is awesome:
2   -# http://editorconfig.org
  1 +# v1.3.18 June 8, 2014
  2 +# https://github.com/bevry/base
3 3 root = true
4 4
5 5 [*]
6 6 end_of_line = lf
7 7 charset = utf-8
8   -trim_trailing_whitespace = true
  8 +trim_trailing_whitespace = false
9 9 insert_final_newline = false
10 10 indent_style = tab
11 11
12   -[{*.yml,*.json}]
  12 +[*.json]
  13 +indent_style = space
  14 +indent_size = 2
  15 +
  16 +[*.yml]
13 17 indent_style = space
14 18 indent_size = 2
6 .gitignore
... ... @@ -1,8 +1,9 @@
1   -# v1.3.5 October 31, 2013
  1 +# v1.3.10 December 10, 2013
2 2 # https://github.com/bevry/base
3 3
4 4 # Temp Files
5 5 **/*.log
  6 +**/.docpad.db
6 7
7 8 # Build Files
8 9 build/
@@ -11,9 +12,8 @@ bower_components/
11 12 node_modules/
12 13 out/
13 14
14   -
15 15 # =====================================
16   -# PROJECT SPECIFIC FILES
  16 +# CUSTOM MODIFICATIONS
17 17
18 18 test/render-out/
19 19 test/.docpad.db
13 .npmignore
... ... @@ -1,8 +1,9 @@
1   -# v1.3.3 October 26, 2013
  1 +# v1.3.18 June 8, 2014
2 2 # https://github.com/bevry/base
3 3
4 4 # Temp Files
5 5 **/*.log
  6 +**/.docpad.db
6 7
7 8 # Build Files
8 9 build/
@@ -11,6 +12,9 @@ bower_components/
11 12 node_modules/
12 13
13 14 # Development Files
  15 +.editorconfig
  16 +.jshintrc
  17 +coffeelint.json
14 18 .travis*
15 19 Cakefile
16 20 Makefile
@@ -23,4 +27,9 @@ HISTORY.md
23 27 # Other Package Definitions
24 28 template.js
25 29 component.json
26   -bower.json
  30 +bower.json
  31 +
  32 +# =====================================
  33 +# CUSTOM MODIFICATIONS
  34 +
  35 +# None
8 .travis.yml
... ... @@ -1,7 +1,11 @@
1   -# v1.3.14 February 6, 2014
  1 +# v1.3.17 May 29, 2014
2 2 # https://github.com/bevry/base
3 3 language: node_js
4   -install: "npm install; ./node_modules/.bin/cake install"
  4 +# ensure npm is the latest (handled via npm install -g npm)
  5 +# ensure dev dependencies are installed (handled via npm install)
  6 +# ensure test dependencies are installed (handled via cake install)
  7 +install: "npm install -g npm && npm install && ./node_modules/.bin/cake install"
  8 +# ensure our application is compiled before we run our tests
5 9 before_script: "./node_modules/.bin/cake compile"
6 10 script: "npm test"
7 11 node_js:
25 Cakefile
... ... @@ -1,4 +1,4 @@
1   -# v1.3.16 May 23, 2014
  1 +# v1.3.20 June 16, 2014
2 2 # https://github.com/bevry/base
3 3
4 4
@@ -18,7 +18,7 @@ NPM = (if WINDOWS then process.execPath.replace('node.exe', 'npm.cm
18 18 EXT = (if WINDOWS then '.cmd' else '')
19 19 GIT = "git"
20 20
21   -APP_PATH = process.cwd()
  21 +APP_PATH = process.cwd()
22 22 PACKAGE_PATH = pathUtil.join(APP_PATH, "package.json")
23 23 PACKAGE_DATA = require(PACKAGE_PATH)
24 24
@@ -29,15 +29,18 @@ COFFEE = pathUtil.join(MODULES_PATH, "coffee-script/bin/coffee")
29 29 PROJECTZ = pathUtil.join(MODULES_PATH, "projectz/bin/projectz")
30 30 DOCCO = pathUtil.join(MODULES_PATH, "docco/bin/docco")
31 31 DOCPAD = pathUtil.join(MODULES_PATH, "docpad/bin/docpad")
  32 +BISCOTTO = pathUtil.join(MODULES_PATH, "biscotto/bin/biscotto")
32 33
33 34 config = {}
34   -config.TEST_PATH = "test"
35   -config.DOCCO_SRC_PATH = null
36   -config.DOCCO_OUT_PATH = "docs"
37   -config.COFFEE_SRC_PATH = null
38   -config.COFFEE_OUT_PATH = "out"
39   -config.DOCPAD_SRC_PATH = null
40   -config.DOCPAD_OUT_PATH = "out"
  35 +config.TEST_PATH = "test"
  36 +config.DOCCO_SRC_PATH = null
  37 +config.DOCCO_OUT_PATH = "docs"
  38 +config.BISCOTTO_SRC_PATH = null
  39 +config.BISCOTTO_OUT_PATH = "docs"
  40 +config.COFFEE_SRC_PATH = null
  41 +config.COFFEE_OUT_PATH = "out"
  42 +config.DOCPAD_SRC_PATH = null
  43 +config.DOCPAD_OUT_PATH = "out"
41 44
42 45 for own key,value of (PACKAGE_DATA.cakeConfiguration or {})
43 46 config[key] = value
@@ -198,6 +201,10 @@ actions =
198 201 console.log('docco compile')
199 202 exec("#{NODE} #{DOCCO} -o #{config.DOCCO_OUT_PATH} #{config.DOCCO_SRC_PATH}", {stdio:'inherit', cwd:APP_PATH}, safe next, step4)
200 203 step4 = ->
  204 + return step5() if !config.BISCOTTO_SRC_PATH or !fsUtil.existsSync(BISCOTTO)
  205 + console.log('biscotto compile')
  206 + exec("""#{BISCOTTO} --name #{PACKAGE_DATA.title or PACKAGE_DATA.name} --title "#{PACKAGE_DATA.title or PACKAGE_DATA.name} API Documentation" --readme README.md --output-dir #{config.BISCOTTO_OUT_PATH} #{config.BISCOTTO_SRC_PATH} - LICENSE.md HISTORY.md""", {stdio:'inherit', cwd:APP_PATH}, safe next, step5)
  207 + step5 = ->
201 208 console.log('cake test')
202 209 actions.test(opts, safe next, step5)
203 210 step5 = next
114 coffeelint.json
... ... @@ -0,0 +1,114 @@
  1 +{
  2 + "coffeescript_error": {
  3 + "level": "error"
  4 + },
  5 + "arrow_spacing": {
  6 + "name": "arrow_spacing",
  7 + "level": "error"
  8 + },
  9 + "no_tabs": {
  10 + "name": "no_tabs",
  11 + "level": "ignore"
  12 + },
  13 + "no_trailing_whitespace": {
  14 + "name": "no_trailing_whitespace",
  15 + "level": "error",
  16 + "allowed_in_comments": false,
  17 + "allowed_in_empty_lines": true
  18 + },
  19 + "max_line_length": {
  20 + "name": "max_line_length",
  21 + "value": 80,
  22 + "level": "ignore",
  23 + "limitComments": true
  24 + },
  25 + "line_endings": {
  26 + "name": "line_endings",
  27 + "level": "error",
  28 + "value": "unix"
  29 + },
  30 + "no_trailing_semicolons": {
  31 + "name": "no_trailing_semicolons",
  32 + "level": "error"
  33 + },
  34 + "indentation": {
  35 + "name": "indentation",
  36 + "value": 1,
  37 + "level": "error"
  38 + },
  39 + "camel_case_classes": {
  40 + "name": "camel_case_classes",
  41 + "level": "error"
  42 + },
  43 + "colon_assignment_spacing": {
  44 + "name": "colon_assignment_spacing",
  45 + "level": "ignore",
  46 + "spacing": {
  47 + "left": 0,
  48 + "right": 0
  49 + }
  50 + },
  51 + "no_implicit_braces": {
  52 + "name": "no_implicit_braces",
  53 + "level": "ignore",
  54 + "strict": true
  55 + },
  56 + "no_plusplus": {
  57 + "name": "no_plusplus",
  58 + "level": "ignore"
  59 + },
  60 + "no_throwing_strings": {
  61 + "name": "no_throwing_strings",
  62 + "level": "error"
  63 + },
  64 + "no_backticks": {
  65 + "name": "no_backticks",
  66 + "level": "ignore"
  67 + },
  68 + "no_implicit_parens": {
  69 + "name": "no_implicit_parens",
  70 + "level": "ignore"
  71 + },
  72 + "no_empty_param_list": {
  73 + "name": "no_empty_param_list",
  74 + "level": "error"
  75 + },
  76 + "no_stand_alone_at": {
  77 + "name": "no_stand_alone_at",
  78 + "level": "ignore"
  79 + },
  80 + "space_operators": {
  81 + "name": "space_operators",
  82 + "level": "ignore"
  83 + },
  84 + "duplicate_key": {
  85 + "name": "duplicate_key",
  86 + "level": "error"
  87 + },
  88 + "empty_constructor_needs_parens": {
  89 + "name": "empty_constructor_needs_parens",
  90 + "level": "ignore"
  91 + },
  92 + "cyclomatic_complexity": {
  93 + "name": "cyclomatic_complexity",
  94 + "value": 10,
  95 + "level": "ignore"
  96 + },
  97 + "newlines_after_classes": {
  98 + "name": "newlines_after_classes",
  99 + "value": 3,
  100 + "level": "ignore"
  101 + },
  102 + "no_unnecessary_fat_arrows": {
  103 + "name": "no_unnecessary_fat_arrows",
  104 + "level": "warn"
  105 + },
  106 + "missing_fat_arrows": {
  107 + "name": "missing_fat_arrows",
  108 + "level": "ignore"
  109 + },
  110 + "non_empty_constructor_needs_parens": {
  111 + "name": "non_empty_constructor_needs_parens",
  112 + "level": "ignore"
  113 + }
  114 +}

0 comments on commit f4bd84a

Please sign in to comment.
Something went wrong with that request. Please try again.