create package directory
$ mkdir modules
$ mkdir modules/some-module
$ cd modules/some-module
| image: | |
| mogrify -path doc/image2 -resize 30% doc/image/* | |
| server: | |
| php -S localhost:8000 -t html | |
| deploy: | |
| git push heroku master | |
| install: | |
| npm install;bower install;webpack; | |
| master: | |
| ./node_modules/.bin/js-yaml master.yml > coffee/master.json |
| { | |
| "name": "root/hoge", | |
| "require": { | |
| "symfony/console": "~2.6", | |
| "knplabs/github-api": "1.4", | |
| "symfony/filesystem": "2.6" | |
| }, | |
| "authors": [ | |
| { | |
| "name": "mikakane", |
| { | |
| "version": "0.0.0", | |
| "private": true, | |
| "name": "some awesome app", | |
| "description": "template", | |
| "repository": "https://bitbucket.org/", | |
| "license": "MIT", | |
| "devDependencies": { | |
| "bower": "^1.3.1", | |
| "coffee-loader": "^0.7.2", |
| { | |
| "name": "spa", | |
| "version": "0.0.0", | |
| "authors": [ | |
| "後藤知宏 <goto.tomohiro.1204@gmail.com>" | |
| ], | |
| "license": "MIT", | |
| "ignore": [ | |
| "**/.*", | |
| "node_modules", |
| require 'bootstrap-sass' | |
| # require 'compass/import-once/activate' | |
| # Require any additional compass plugins here. | |
| # Set this to the root of your project when deployed: | |
| http_path = "/" | |
| css_dir = "../public/assets/css" | |
| sass_dir = "." | |
| images_dir = "../public/assets/img" |
| <?php | |
| /** | |
| * Layoutクラス | |
| * | |
| * Viewのサブクラスではない!!←ここ重要 | |
| * | |
| * グローバルなLayout変数の格納庫と、 | |
| * LayoutViewクラスのファクトリー、という位置づけ | |
| * | |
| * 用語的にはレイアウト->テンプレート的な感じでコメント書いてます。 |