あらかじめ手作業でgh-pages内のファイル構成は整えておく。
# ビルドします
node index.js
# コミットします
git commit --all --message="Rebuild"
# gh-pagesに移動します
git checkout gh-pages
# masterのファイルを全部持ってくる| data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAQHRrUGdUa1BORyAgQ29weVJpZ2h0IFRha2kgQWxsIFJpZ2h0IFJlc2VydmVkAI0AAA0AAABSREhJmDlXAOa9SQCQkWg2mDWMHgAAAB5JREFUKM9j+H9jL3aEAzCMaqCNBlwAh0GjGmiiAQBn/cifTDaT1wAAAABJRU5ErkJggg== |
| $ next-update --latest | |
| next-update - Tests if module's dependencies can be updated to latest version | |
| version: 0.4.5 | |
| author: {"name":"Gleb Bahmutov","email":"[email protected]"} | |
| checking if the current state works | |
| npm test | |
| current state works | |
| module's current dependencies: | |
| package available | |
| -------- --------- |
あらかじめ手作業でgh-pages内のファイル構成は整えておく。
# ビルドします
node index.js
# コミットします
git commit --all --message="Rebuild"
# gh-pagesに移動します
git checkout gh-pages
# masterのファイルを全部持ってくる| #!/bin/sh | |
| # Dependencies | |
| # gh-open: https://github.com/typester/gh-open | |
| BRANCH=$1 | |
| git checkout master && | |
| git checkout -b $BRANCH && | |
| git commit --allow-empty -m "WIP $BRANCH" && |
| diff --git blosxom.cgi blosxom.cgi | |
| index 8ffe7ae..0fb7041 100755 | |
| --- blosxom.cgi | |
| +++ blosxom.cgi | |
| @@ -764,6 +764,30 @@ sub generate { | |
| } | |
| } | |
| + # Save unescaped versions and allow them to be used in flavour | |
| + # templates. |
展開した中身を全部Git for Windowsのbash.exeと同じフォルダーにコピーする。*.tar.lzmaの展開には7-Zipを使う。
| /** | |
| * @preserve prettify-loader.js | |
| * | |
| * LICENSE: http://hail2u.mit-license.org/2011 | |
| */ | |
| (function (d) { | |
| if (d.querySelectorAll) { | |
| var languages = ['bash', 'bsh', 'c', 'cc', 'coffee', 'cpp', 'cs', 'csh', | |
| 'cxx', 'cyc', 'cv', 'htm', 'html', 'java', 'javascript', 'js', 'json', | |
| 'm', 'mxml', 'perl', 'pl', 'pm', 'py', 'python', 'rb', 'rc', 'rs', 'ruby', |
| if exists('current_compiler') | |
| finish | |
| endif | |
| let current_compiler = 'jsonlint' | |
| if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
| command -nargs=* CompilerSet setlocal <args> | |
| endif | |
| let s:cpo_save = &cpo |
| /* jshint node: true */ | |
| 'use strict'; | |
| var path = require('path'); | |
| module.exports = function (grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| upload: { |