(assuming project is hosted on GitLab)
- Enable shared runners by going to "Settings" > "Runners".
- Add
.gitlab-ci.yml
with the following content:
image: node:6.9.1
pages:
artifacts:
paths:
#!/usr/bin/env bash | |
#styles | |
VP_NONE='\033[00m' | |
VP_RED='\033[01;31m' | |
VP_GREEN='\033[01;32m' | |
VP_YELLOW='\033[01;33m' | |
VP_PURPLE='\033[01;35m' | |
VP_CYAN='\033[01;36m' | |
VP_WHITE='\033[01;37m' |
#!/usr/bin/env bash | |
#styles | |
VP_NONE='\033[00m' | |
VP_RED='\033[01;31m' | |
VP_GREEN='\033[01;32m' | |
VP_YELLOW='\033[01;33m' | |
VP_PURPLE='\033[01;35m' | |
VP_CYAN='\033[01;36m' | |
VP_WHITE='\033[01;37m' |
/* | |
Before using make sure you have: | |
npm install --save-dev gulp gulp-minify-css gulp-concat gulp-uglify gulp-autoprefixer gulp-sass | |
Make sure to change the directory names in the default watch function to the CSS/SCSS/SASS directories you are using so it reloads | |
*/ | |
var gulp = require('gulp'), | |
minifyCSS = require('gulp-minify-css'), | |
concat = require('gulp-concat') |
(assuming project is hosted on GitLab)
.gitlab-ci.yml
with the following content:image: node:6.9.1
pages:
artifacts:
paths:
<?php | |
/** | |
* @link | |
* @since 1.0.0 | |
* @package TODO | |
* | |
* @wordpress-plugin | |
* Plugin Name: Use MailHog | |
* Description: Configure WordPress on Valet to use MailHog | |
* Version: 1.0.0 |
sudo apachectl stop | |
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null |