Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added artwork to lore booklet & cleaned up some of the lore's wording…
…. beautified files. updated handbook with new introduction a 'how to play' section.
- Loading branch information
Madison Grubb
committed
Dec 3, 2016
1 parent
e591611
commit be35e35
Showing
18 changed files
with
244 additions
and
153 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
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,47 +1,49 @@ | ||
var gulp = require('gulp'), | ||
markdownpdf = require('gulp-markdown-pdf'), | ||
zip = require('gulp-zip'), | ||
fs = require('fs'), | ||
// used to determine release version | ||
pjson = require('./package.json'); | ||
markdownpdf = require('gulp-markdown-pdf'), | ||
zip = require('gulp-zip'), | ||
fs = require('fs'), | ||
// used to determine release version | ||
pjson = require('./package.json'); | ||
|
||
var config = { | ||
mdPath: 'src/markdown/*.md', | ||
cssPath: 'src/styles/main.css', | ||
out: 'documents', | ||
readme: 'README.md', | ||
mdPath: 'src/markdown/*.md', | ||
cssPath: 'src/styles/main.css', | ||
out: 'documents', | ||
readme: 'README.md', | ||
}; | ||
|
||
// compile all the documents | ||
gulp.task('compile', function () { | ||
var cwd = process.cwd(); | ||
return gulp.src(config.mdPath) | ||
.pipe(markdownpdf({ | ||
cwd: cwd, | ||
cssPath: config.cssPath, | ||
})) | ||
.pipe(gulp.dest(config.out)); | ||
gulp.task('compile', function() { | ||
var cwd = process.cwd(); | ||
return gulp.src(config.mdPath) | ||
.pipe(markdownpdf({ | ||
cwd: cwd, | ||
cssPath: config.cssPath, | ||
})) | ||
.pipe(gulp.dest(config.out)); | ||
}); | ||
|
||
gulp.task('release', function () { | ||
fs.stat('documents', function(err, stat) { | ||
if(err == null) { | ||
var release = ['microluxe20_',pjson.version,'.zip'].join(''); | ||
return gulp.src(['documents/*', 'character-sheets/*', 'map/*.png', 'LICENSE']) | ||
.pipe(zip(release)) | ||
.pipe(gulp.dest('./release')); | ||
} else if(err.code == 'ENOENT') { | ||
console.log('Could not find the `documents` directory. Please run `gulp compile` before building a release. ERROR:', err.code); | ||
} else { | ||
console.log(err.code); | ||
} | ||
}); | ||
gulp.task('release', function() { | ||
fs.stat('documents', function(err, stat) { | ||
if (err == null) { | ||
var release = ['microluxe20_', pjson.version, '.zip'].join(''); | ||
return gulp.src(['documents/*', 'character-sheets/*', 'map/*.png', 'LICENSE']) | ||
.pipe(zip(release)) | ||
.pipe(gulp.dest('./release')); | ||
} else if (err.code == 'ENOENT') { | ||
console.log('Could not find the `documents` directory. Please run `gulp compile` before building a release. ERROR:', err.code); | ||
} else { | ||
console.log(err.code); | ||
} | ||
}); | ||
}); | ||
|
||
gulp.task('watch', function () { | ||
gulp.watch([config.mdPath, config.cssPath], ['compile']); | ||
gulp.task('watch', function() { | ||
gulp.watch([config.mdPath, config.cssPath], ['compile']); | ||
}); | ||
|
||
gulp.task('default', function () { | ||
console.log(fs.readFileSync(config.readme, { encoding: 'UTF8' })); | ||
gulp.task('default', function() { | ||
console.log(fs.readFileSync(config.readme, { | ||
encoding: 'UTF8' | ||
})); | ||
}); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 +1,24 @@ | ||
{ | ||
"name": "microluxe20", | ||
"version": "1.6.0", | ||
"description": "A free, open source tabletop game based on the Microlite20 ruleset.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kgrubb/microluxe20" | ||
}, | ||
"author": "Keli Grubb", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"bugs": { | ||
"url": "https://github.com/kgrubb/microluxe20/issues" | ||
}, | ||
"homepage": "https://microluxe20.com", | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-markdown-pdf": "^4.0.0", | ||
"gulp-zip": "^3.2.0" | ||
} | ||
"name": "microluxe20", | ||
"version": "1.6.0", | ||
"description": "A free, open source tabletop game based on the Microlite20 ruleset.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kgrubb/microluxe20" | ||
}, | ||
"author": "Keli Grubb", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"bugs": { | ||
"url": "https://github.com/kgrubb/microluxe20/issues" | ||
}, | ||
"homepage": "https://microluxe20.com", | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-markdown-pdf": "^4.0.0", | ||
"gulp-zip": "^3.2.0" | ||
} | ||
} |
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
Oops, something went wrong.