You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
普段の仕事では、プログラミングをしない人もソースをさわったりするのですが、Gruntはちょっと敷居が高いと思われることが多く、どうしようかと常々考えていたところ、GUIツールがあったので試してみました。 markparolisiさんのGruntプラグイン、grunt-peon-guiです。 なによりも使い方が簡単です。普通のGruntfile内で読み込んでgrunt guiコマンドを叩くだけです。 以下、Gruntfileの例。 module.exports = (grunt) -> grunt.initConfig copy: main: files:[ expand: true src : ['test/*'] dest : 'tmp/' filter : 'isFile' ] grunt.loadNpmTasks('grunt-peon-gui') grunt.loadNpmTas
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
JavaScriptを使った開発で必要となるconcat, minify, lint, test といったタスクを動かすのに使うツール、最近はgruntをよく見かけるのでオレオレmakefileから移行してみた。 既存のmakefileは以下の通り。makefile + makeターゲットから呼び出される各種タスクに対応した処理を行なうプログラムという構成。make minifyと打てば圧縮版のファイルを生成、make testと打てばテストが実行される寸法だ、圧縮にはuglify.js, lintにはjshint、全てnodeモジュールを使っているのでそのまま移行できるはず。concatにはmuというテンプレートエンジンを使っていた。 makefileからの移行 まず、gruntの制御に必要なgrunt.jsファイルは grunt init:gruntfile して生成する。concat
Why use a task runner?In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you've configured it through a Gruntfile, a task runner can do most of that mundane work for you—and your team—with basically zero effort. Why use Grunt?The Grunt ecosystem is huge and it's growin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く