Skip to content

Instantly share code, notes, and snippets.

@hail2u
Created June 1, 2014 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hail2u/6345f9d613c5466cc3fc to your computer and use it in GitHub Desktop.
Save hail2u/6345f9d613c5466cc3fc to your computer and use it in GitHub Desktop.
Directory Structure of Hail2u.net
  • .bin/ ... 色々なユーティリティ
  • .grunt/ ... Gruntでゴニョゴニョするものは全部ココ
    • task/ ... カスタム・プラグイン
      • blosxom.js ... Blosxomを叩く
      • generate.js ... Handlebars.jsを使ったHTMLジェネレーター
      • generate_sitemap.js ... sitemap.xml専用
      • gitcommit.js ... コミットします、プッシュもできる
      • upload.js ... scpでアップロード
    • html/ ... generate.jsでプロセスする*.mustacheがまとめられてる
    • css/ ... Sassで書いたものはココ、Bowerもここだけで管理
    • js/ ... JS書いてディレクトリで整理してる、Bowerもここだけで管理
    • weblog/ ... Blosxom用のディレクトリで、blosxom.jsで叩くのでここに
      • entries/ ... $data_dir
      • plugins/ ... $plugin_dir
        • state/ ... $plugin_state_dir
      • blosxom.cgi ... blosxom.jsで叩く
      • blosxom.conf ... 設定ファイル
    • tmp/ ... Gruntの作業用ディレクトリ
  • about/
    • style-guide/
  • blog/
  • documents/ ... index.html以外は別に管理
  • fonts/ ... ウェブフォントはここ
    • source-sans-pro/
    • source-sans-pro.scss
  • images/ ... 画像はここ
  • node_modules/ ... NPM
  • projects/
  • pub/ ... アレ
    • test/ ... アレのアレ
  • scripts/ ... ビルドしたJSとSource Map
  • styles/ ... ビルドしたCSSとSource Map、acoもここ
  • 404.html
  • favicon.ico
  • feed ... 手書き
  • Gruntfile.js ... そろそろ死にそうなので整理しよう
  • humans.txt
  • index.html ... generate.jsでビルドされる
  • package.json ... 昨日整理した
  • robots.txt
  • sitemap.xml ... generate_sitemap.jsでビルドされる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment