mirror of
https://github.com/ascribe/wp-theme
synced 2025-02-14 21:10:26 +01:00
Working theme in master
This commit is contained in:
parent
4abc002dd1
commit
59c91103c6
6
.ftppass
6
.ftppass
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"key1": {
|
|
||||||
"username": "ascribe",
|
|
||||||
"password": "zS!wfsBm9FK$"
|
|
||||||
}
|
|
||||||
}
|
|
51
.gitignore
vendored
51
.gitignore
vendored
@ -4,3 +4,54 @@ vendor
|
|||||||
composer.lock
|
composer.lock
|
||||||
phpunit.xml
|
phpunit.xml
|
||||||
.idea
|
.idea
|
||||||
|
### JetBrains template
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion
|
||||||
|
|
||||||
|
*.iml
|
||||||
|
|
||||||
|
## Directory-based project format:
|
||||||
|
.idea/
|
||||||
|
# if you remove the above rule, at least ignore the following:
|
||||||
|
|
||||||
|
# User-specific stuff:
|
||||||
|
# .idea/workspace.xml
|
||||||
|
# .idea/tasks.xml
|
||||||
|
# .idea/dictionaries
|
||||||
|
|
||||||
|
# Sensitive or high-churn files:
|
||||||
|
# .idea/dataSources.ids
|
||||||
|
# .idea/dataSources.xml
|
||||||
|
# .idea/sqlDataSources.xml
|
||||||
|
# .idea/dynamic.xml
|
||||||
|
# .idea/uiDesigner.xml
|
||||||
|
|
||||||
|
# Gradle:
|
||||||
|
# .idea/gradle.xml
|
||||||
|
# .idea/libraries
|
||||||
|
|
||||||
|
# Mongo Explorer plugin:
|
||||||
|
# .idea/mongoSettings.xml
|
||||||
|
|
||||||
|
## File-based project format:
|
||||||
|
*.ipr
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
## Plugin-specific files:
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.ftppass
|
204
Gruntfile.js
204
Gruntfile.js
@ -1,48 +1,48 @@
|
|||||||
module.exports = function( grunt ) {
|
module.exports = function( grunt ) {
|
||||||
|
|
||||||
// Project configuration
|
// Project configuration
|
||||||
grunt.initConfig( {
|
grunt.initConfig( {
|
||||||
pkg: grunt.file.readJSON( 'package.json' ),
|
pkg: grunt.file.readJSON( 'package.json' ),
|
||||||
concat: {
|
concat: {
|
||||||
options: {
|
options: {
|
||||||
stripBanners: true,
|
stripBanners: true,
|
||||||
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
||||||
' * <%= pkg.homepage %>\n' +
|
' * <%= pkg.homepage %>\n' +
|
||||||
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
||||||
' * Licensed GPLv2+' +
|
' * Licensed GPLv2+' +
|
||||||
' */\n'
|
' */\n'
|
||||||
},
|
},
|
||||||
main: {
|
main: {
|
||||||
src: [
|
src: [
|
||||||
'assets/js/src/ascribe.js'
|
'assets/js/src/ascribe.js'
|
||||||
],
|
],
|
||||||
dest: 'assets/js/ascribe.js'
|
dest: 'assets/js/ascribe.js'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
jshint: {
|
jshint: {
|
||||||
all: [
|
all: [
|
||||||
'Gruntfile.js',
|
'Gruntfile.js',
|
||||||
'assets/js/src/**/*.js',
|
'assets/js/src/**/*.js',
|
||||||
'assets/js/test/**/*.js'
|
'assets/js/test/**/*.js'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
uglify: {
|
uglify: {
|
||||||
all: {
|
all: {
|
||||||
files: {
|
files: {
|
||||||
'assets/js/ascribe.min.js': ['assets/js/ascribe.js']
|
'assets/js/ascribe.min.js': ['assets/js/ascribe.js']
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
||||||
' * <%= pkg.homepage %>\n' +
|
' * <%= pkg.homepage %>\n' +
|
||||||
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
||||||
' * Licensed GPLv2+' +
|
' * Licensed GPLv2+' +
|
||||||
' */\n',
|
' */\n',
|
||||||
mangle: {
|
mangle: {
|
||||||
except: ['jQuery']
|
except: ['jQuery']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
less: {
|
less: {
|
||||||
all: {
|
all: {
|
||||||
@ -56,59 +56,59 @@ module.exports = function( grunt ) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
postcss: {
|
postcss: {
|
||||||
dist: {
|
dist: {
|
||||||
options: {
|
options: {
|
||||||
processors: [
|
processors: [
|
||||||
require('autoprefixer-core')({browsers: 'last 2 versions'})
|
require('autoprefixer-core')({browsers: 'last 2 versions'})
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'assets/css/ascribe.css': [ 'assets/css/ascribe.css' ]
|
'assets/css/ascribe.css': [ 'assets/css/ascribe.css' ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
cssmin: {
|
cssmin: {
|
||||||
options: {
|
options: {
|
||||||
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' +
|
||||||
' * <%=pkg.homepage %>\n' +
|
' * <%=pkg.homepage %>\n' +
|
||||||
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
' * Copyright (c) <%= grunt.template.today("yyyy") %>;' +
|
||||||
' * Licensed GPLv2+' +
|
' * Licensed GPLv2+' +
|
||||||
' */\n'
|
' */\n'
|
||||||
},
|
},
|
||||||
minify: {
|
minify: {
|
||||||
expand: true,
|
expand: true,
|
||||||
|
|
||||||
cwd: 'assets/css/',
|
cwd: 'assets/css/',
|
||||||
src: ['ascribe.css'],
|
src: ['ascribe.css'],
|
||||||
|
|
||||||
dest: 'assets/css/',
|
dest: 'assets/css/',
|
||||||
ext: '.min.css'
|
ext: '.min.css'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
livereload: {
|
livereload: {
|
||||||
files: ['assets/css/*.css'],
|
files: ['assets/css/*.css'],
|
||||||
options: {
|
options: {
|
||||||
livereload: true
|
livereload: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
styles: {
|
styles: {
|
||||||
files: ['assets/css/less/**/*.less'],
|
files: ['assets/css/less/**/*.less'],
|
||||||
tasks: ['less', 'autoprefixer', 'cssmin'],
|
tasks: ['less', 'autoprefixer', 'cssmin'],
|
||||||
options: {
|
options: {
|
||||||
debounceDelay: 500
|
debounceDelay: 500
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
scripts: {
|
scripts: {
|
||||||
files: ['assets/js/src/**/*.js', 'assets/js/vendor/**/*.js'],
|
files: ['assets/js/src/**/*.js', 'assets/js/vendor/**/*.js'],
|
||||||
tasks: ['jshint', 'concat', 'uglify'],
|
tasks: ['jshint', 'concat', 'uglify'],
|
||||||
options: {
|
options: {
|
||||||
debounceDelay: 500
|
debounceDelay: 500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'sftp-deploy': {
|
'sftp-deploy': {
|
||||||
css: {
|
css: {
|
||||||
auth: {
|
auth: {
|
||||||
@ -168,20 +168,20 @@ module.exports = function( grunt ) {
|
|||||||
progress: true
|
progress: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// Load tasks
|
// Load tasks
|
||||||
require('load-grunt-tasks')(grunt);
|
require('load-grunt-tasks')(grunt);
|
||||||
|
|
||||||
// Register tasks
|
// Register tasks
|
||||||
|
|
||||||
grunt.registerTask( 'css', ['less', 'postcss', 'cssmin', 'sftp-deploy:css'] );
|
grunt.registerTask( 'css', ['less', 'postcss', 'cssmin', 'sftp-deploy:css'] );
|
||||||
|
|
||||||
grunt.registerTask( 'js', ['jshint', 'concat', 'uglify', 'sftp-deploy:js'] );
|
grunt.registerTask( 'js', ['jshint', 'concat', 'uglify', 'sftp-deploy:js'] );
|
||||||
|
|
||||||
grunt.registerTask( 'controller', ['sftp-deploy:controller'] );
|
grunt.registerTask( 'controller', ['sftp-deploy:controller'] );
|
||||||
|
|
||||||
grunt.registerTask( 'default', ['css', 'js', 'controller'] );
|
grunt.registerTask( 'default', ['css', 'js', 'controller'] );
|
||||||
|
|
||||||
grunt.util.linefeed = '\n';
|
grunt.util.linefeed = '\n';
|
||||||
};
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* ascribe
|
||||||
|
* http://wordpress.org/themes
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015 Territorial
|
||||||
|
* Licensed under the GPLv2+ license.
|
||||||
|
*/
|
@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* ascribe
|
||||||
|
* http://wordpress.org/themes
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015 Territorial
|
||||||
|
* Licensed under the GPLv2+ license.
|
||||||
|
*/
|
@ -17,5 +17,5 @@
|
|||||||
Twitter: @lkwdwrd
|
Twitter: @lkwdwrd
|
||||||
|
|
||||||
/* SITE */
|
/* SITE */
|
||||||
Created: Wed Sep 16 2015
|
Created: Thu Sep 17 2015
|
||||||
Template: https://github.com/10up/generator-wp-make
|
Template: https://github.com/10up/generator-wp-make
|
@ -1,8 +1,8 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ascribe\n"
|
"Project-Id-Version: ascribe\n"
|
||||||
"POT-Creation-Date: 2015-09-16T23:52:34.272Z\n"
|
"POT-Creation-Date: 2015-09-17T22:31:35.013Z\n"
|
||||||
"PO-Revision-Date: 2015-09-16T23:52:34.274Z\n"
|
"PO-Revision-Date: 2015-09-17T22:31:35.014Z\n"
|
||||||
"Last-Translator: 10up <info@10up.com>\n"
|
"Last-Translator: 10up <info@10up.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
<phpunit
|
|
||||||
bootstrap="bootstrap.php.dist"
|
|
||||||
backupGlobals="false"
|
|
||||||
processIsolation="false"
|
|
||||||
colors="false">
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="Default">
|
|
||||||
<directory suffix="Tests.php">./tests/phpunit</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
<filter>
|
|
||||||
<whitelist>
|
|
||||||
<directory suffix=".php">./includes</directory>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
<php>
|
|
||||||
<ini name="error_reporting" value="32767" />
|
|
||||||
<ini name="display_errors" value="1" />
|
|
||||||
<ini name="display_startup_errors" value="1" />
|
|
||||||
</php>
|
|
||||||
</phpunit>
|
|
@ -1 +1 @@
|
|||||||
{"/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.css":"2015-09-17T22:20:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.min.css":"2015-09-17T22:20:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//readme.md":"2015-09-16T23:52:34.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//less/ascribe.less":"2015-09-17T22:05:05.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.js":"2015-09-17T22:20:36.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.min.js":"2015-09-17T22:20:36.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//src/ascribe.js":"2015-09-16T23:52:34.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//vendor/readme.md":"2015-09-16T23:52:34.000Z"}
|
{"/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.css":"2015-09-17T22:37:02.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.min.css":"2015-09-17T22:37:02.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//readme.md":"2015-09-17T22:31:35.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//less/ascribe.less":"2015-09-17T22:31:35.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.js":"2015-09-17T22:37:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.min.js":"2015-09-17T22:37:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//src/ascribe.js":"2015-09-17T22:31:35.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//vendor/readme.md":"2015-09-17T22:31:35.000Z"}
|
Loading…
x
Reference in New Issue
Block a user