Skip to content

Instantly share code, notes, and snippets.

@PavelGavlik
PavelGavlik / gulpfile-production.js
Created June 6, 2014 12:18
Sample Phở Devstack config for a Wordpress theme
// For all available options, see node_modules/pho-dev-stack/config.js
// These are production build settings, see gulpfile.js for development settings
var gulp = require('gulp');
var extend = require('node.extend');
var substituteConfig = require('./substitute-config');
require('pho-devstack')(gulp, {
dist: {
/* Directories and file patterns for build output */
@PavelGavlik
PavelGavlik / grunt.js
Created November 7, 2012 14:59
Compile and run program after code change
module.exports = function( grunt ) {
'use strict';
// Compile and run program after code change
//
// Assumptions:
// 1) One cpp file named 1.cpp
// 2) One resulting binary a.out compiled with g++
grunt.initConfig({