Skip to content

Commit

Permalink
Merge pull request #2 from gdborton/jekyll-start
Browse files Browse the repository at this point in the history
Jekyll start
  • Loading branch information
gdborton committed Apr 1, 2014
2 parents 36c3741 + 1d5c383 commit c3317ff
Show file tree
Hide file tree
Showing 3,246 changed files with 626,114 additions and 514 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.c9revisions
.idea/*
ploutus.iml
_site
48 changes: 48 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
module.exports = function (grunt) {
'use strict';

grunt.loadNpmTasks('grunt-contrib-requirejs');

grunt.loadNpmTasks('grunt-contrib-clean');

grunt.loadNpmTasks('grunt-contrib-less');

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
dist: ['dist'],
less: ['dist/css/*.less']
},
less: {
compile: {
sourceMap: true,
files: {
'dist/css/styles.css': 'dist/css/styles.less'
}
}
},
requirejs: {
compile: {
options: {
appDir: 'src/',
mainConfigFile: 'src/static/javascripts/main.js',
dir: 'dist/',
optimize: 'uglify2',
optimizeCss: 'none',
paths: {
'requireLib': '../bower_components/requirejs/require'
},
modules: [
{
name: 'static/javascripts/main',
include: ['static/javascripts/main', 'requireLib'],
create: true
}
]
}
}
}
});

grunt.registerTask('default', ['clean:dist', 'requirejs:compile', 'less:compile', 'clean:less']);
};
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: Ploutus
markdown: redcarpet
pygments: true
source: dist
21 changes: 21 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Ploutus",
"authors": [
{
"name": "Gary Borton",
"homepage": "http://www.garyborton.com"
}
],
"version": "0.0.0",
"private": true,
"dependencies": {
"bootstrap": "~3.1.0",
"jquery": "~1.11.0",
"highcharts": "~3.0.4",
"knockout": "bowerjs/knockout#2.3.0",
"koExternalTemplateEngine": "https://github.com/ifandelse/Knockout.js-External-Template-Engine.git#2.0.5",
"requirejs": "~2.1.8",
"infuser": "ifandelse/infuser",
"TrafficCop": "ifandelse/TrafficCop"
}
}
13 changes: 13 additions & 0 deletions bower_components/TrafficCop/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "TrafficCop",
"homepage": "https://github.com/ifandelse/TrafficCop",
"_release": "67537edd71",
"_resolution": {
"type": "branch",
"branch": "master",
"commit": "67537edd714b3d4b64d5ffc0002dd9460e970ede"
},
"_source": "git://github.com/ifandelse/TrafficCop.git",
"_target": "*",
"_originalSource": "ifandelse/TrafficCop"
}
11 changes: 11 additions & 0 deletions bower_components/TrafficCop/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.suo
*.csproj.user
bin
obj
*.pdb
_ReSharper*
*.ReSharper.user
*.ReSharper
desktop.ini
.eprj
.idea
13 changes: 13 additions & 0 deletions bower_components/TrafficCop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Building TrafficCop

TrafficCop uses Anvi.js to build standard JavaScript module and AMD module versions of the library.

To build TrafficCop you need to have NodeJS and NPM installed. Once you have those, install Anvil.js
through npm:

`npm install -g anvil.js`

Then you can run `./build-all` from a Bash shell, or if you're on Windows, you can run `anvil -b build-standard.json`
and `anvil -b build-amd.json` to build the version you need.

The resulting files will be in the `lib/(amd|standard)/` folder, depending on which versions were built.
4 changes: 4 additions & 0 deletions bower_components/TrafficCop/build-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

anvil -b build-standard.json
anvil -b build-amd.json
12 changes: 12 additions & 0 deletions bower_components/TrafficCop/build-amd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"source": "src",
"output": "lib/amd",
"lint": {},
"uglify": {},
"gzip": {},
"extensions": { "uglify": "min", "gzip": "gz" },
"wrap": {
"prefix": "define(['jquery'], function($){",
"suffix": "return $.trafficCop;});"
}
}
12 changes: 12 additions & 0 deletions bower_components/TrafficCop/build-standard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"source": "src",
"output": "lib/standard",
"lint": {},
"uglify": {},
"gzip": {},
"extensions": { "uglify": "min", "gzip": "gz" },
"wrap": {
"prefix": "(function($, undefined) {",
"suffix": "})(jQuery);"
}
}
Loading

0 comments on commit c3317ff

Please sign in to comment.