Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
semencov committed Mar 3, 2015
2 parents a213ae0 + 7adcb23 commit 84c0744
Show file tree
Hide file tree
Showing 53 changed files with 3,147 additions and 7,702 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.idea/
/src/test/
/out/test/
/lib/
/test/
/node_modules/
npm-debug.log
11 changes: 5 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@

.travis*
History.md
Gruntfile..coffee
Gruntfile.coffee
Gruntfile.js

src/
/out/bin/
/out/docs/
/out/test/
bin/
docs/
test/

.git/
.gitignore
.coffeelintrc
.jshintrc
.idea/

app.js
.mdash
44 changes: 21 additions & 23 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,37 @@ module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON('package.json')

coffeelint:
gruntfile:
src: '<%= watch.gruntfile.files %>'
lib:
src: '<%= watch.lib.files %>'
test:
src: '<%= watch.test.files %>'
options: grunt.file.readJSON('.coffeelintrc')

coffee:
options:
bare: true
expand: true
lib:
cwd: 'src/'
files:
'lib/mdash.js': [
'src/lib/mdash.coffee'
'src/lib/mdash.lib.coffee'
'src/lib/mdash.tret.coffee'
'src/lib/mdash.tret.*.coffee'
]
alt:
cwd: 'src/'
files:
'lib/mdash_alt.js': [
'src/alt/mdash.coffee'
'src/alt/mdash.lib.coffee'
'src/alt/mdash.tret.coffee'
'src/alt/mdash.tret.*.coffee'
'src/alt/mdash.rule.coffee'
]

expand: true
cwd: 'src/lib/'
src: ['**/*.coffee']
dest: 'lib/'
ext: '.js'
test:
expand: true
cwd: 'src/test/'
src: ['**/*.coffee']
dest: 'test/'
ext: '.js'

simplemocha:
all:
src: [
'node_modules/should/should.js'
'out/test/**/*.js'
'test/**/*.js'
]
options:
globals: ['should']
Expand Down Expand Up @@ -78,8 +73,11 @@ module.exports = (grunt) ->
lib:
files: ['src/lib/**/*.coffee']
tasks: ['coffeelint:lib', 'coffee:lib']
test:
files: ['src/test/**/*.coffee']
tasks: ['coffeelint:test', 'coffee:test', 'simplemocha']

clean: ['out/']
clean: ['lib/']

# grunt.event.on 'watch', (action, files, target) ->
# grunt.log.writeln "#{target}: #{files} has #{action}"
Expand Down Expand Up @@ -107,6 +105,6 @@ module.exports = (grunt) ->

grunt.registerTask 'default', [
'compile'
'test'
# 'test'
]

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Yuri Sementsov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 84c0744

Please sign in to comment.