Skip to content

Commit

Permalink
Merge pull request gwatts#1 from imsky/update-build
Browse files Browse the repository at this point in the history
update build process
  • Loading branch information
imsky committed Apr 6, 2016
2 parents 657f428 + a9fc26d commit f8d822c
Show file tree
Hide file tree
Showing 10 changed files with 3,174 additions and 86 deletions.
67 changes: 63 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,63 @@
# Ignore vim temp files
.*.sw[a-z]
*.un~
Session.vim
# Gitignore from Quickstart
# qkst.io/dotfiles/gitignore

# JavaScript
node_modules/
bower_components/
npm-debug.log

# Python
*.py[cod]
venv
__pycache__

# Java
*.class
*.[jwe]ar

# C, C++
*.o
*.so
*.la
*.a
*.dll

# Executables
*.out
*.exe
*.app

# Logs
*.log
logs

# Archives
*.[7gx]z
*.[tr]ar
*.zip
*.dmg
*.deb
*.rpm
*.xpi
*.msi

# Linux
*~
.Trash-*

# OS X
._*
.fuse_*
.Spotlight-*
.DS_Store

# Windows
*.tmp
*.bak
*.lnk
Thumbs.db

# Other VCS
.hg
.bzr
.svn
42 changes: 0 additions & 42 deletions Makefile

This file was deleted.

13 changes: 13 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var shell = require('shelljs');

var package = require('./package');

var files = ['header.js', 'defaults.js', 'utils.js', 'simpledraw.js', 'rangemap.js', 'interact.js', 'base.js', 'chart-line.js', 'chart-bar.js', 'chart-tristate.js', 'chart-discrete.js', 'chart-bullet.js', 'chart-pie.js', 'chart-box.js', 'vcanvas-base.js', 'vcanvas-canvas.js', 'vcanvas-vml.js', 'footer.js'];

shell.cd('src');

var src = shell.cat(files).replace(/@VERSION@/mg, package.version);

shell.cd('..');

src.to('jquery.sparkline.js');
2 changes: 0 additions & 2 deletions dist/.gitignore

This file was deleted.

Loading

0 comments on commit f8d822c

Please sign in to comment.