diff --git a/2019/2019-06-11_gitTraining/Gruntfile.coffee b/2019/2019-06-11_gitTraining/Gruntfile.coffee deleted file mode 100644 index 2207935adfa3592c494261f78c85d7c16d9d001f..0000000000000000000000000000000000000000 --- a/2019/2019-06-11_gitTraining/Gruntfile.coffee +++ /dev/null @@ -1,130 +0,0 @@ -# Generated on 2013-11-27 using generator-reveal 0.3.2 -module.exports = (grunt) -> - - grunt.loadNpmTasks 'grunt-gh-pages' - - grunt.initConfig - - "gh-pages": - "gh-pages": - options: - base: "dist" - src: [ '**' ] - - watch: - - livereload: - options: - livereload: true - files: [ - 'index.html' - 'slides/*.md' - 'slides/*.html' - 'theme/js/*.js' - ] - - index: - files: [ - 'theme/templates/_index.html' - 'theme/templates/_section.html' - 'slides/list.json' - ] - tasks: ['buildIndex'] - - coffeelint: - files: ['Gruntfile.coffee'] - tasks: ['coffeelint'] - - jshint: - files: ['theme/js/*.js'] - tasks: ['jshint'] - - connect: - - livereload: - options: - port: 9000 - # Change hostname to '0.0.0.0' to access - # the server from outside. - hostname: 'localhost' - base: '.' - open: true - livereload: true - - coffeelint: - - options: - indentation: - value: 4 - - all: ['Gruntfile.coffee'] - - jshint: - - all: ['theme/js/*.js'] - - copy: - - dist: - files: [{ - expand: true - src: [ - 'slides/**' - 'theme/**' - 'theme/css/**' - 'theme/js/**' - 'slides/img/**' - ] - dest: 'public/' - },{ - expand: true - src: ['index.html'] - dest: 'public/' - filter: 'isFile' - }] - - - # Load all grunt tasks. - require('load-grunt-tasks')(grunt) - - grunt.registerTask 'buildIndex', - 'Build theme/templates/_index.html and slides/list.json.', - -> - indexTemplate = grunt.file.read 'theme/templates/_index.html' - sectionTemplate = grunt.file.read 'theme/templates/_section.html' - slides = grunt.file.readJSON 'slides/list.json' - - html = grunt.template.process indexTemplate, data: - slides: - slides - section: (slide) -> - grunt.template.process sectionTemplate, data: - slide: - slide - grunt.file.write 'index.html', html - - grunt.registerTask 'test', - '*Lint* javascript and coffee files.', [ - 'coffeelint' - 'jshint' - ] - - grunt.registerTask 'server', - 'Run presentation locally and start watch process (living document).', [ - 'buildIndex' - 'connect:livereload' - 'watch' - ] - - grunt.registerTask 'dist', - 'Save presentation files to *public* directory.', [ - 'test' - 'buildIndex' - 'copy' - ] - - # Define default task. - grunt.registerTask 'default', [ - 'test' - 'server' - ] diff --git a/2019/2019-06-11_gitTraining/package.json b/2019/2019-06-11_gitTraining/package.json deleted file mode 120000 index 77b4a294e0d67a5cbf87a9099bd621a76bca2ba1..0000000000000000000000000000000000000000 --- a/2019/2019-06-11_gitTraining/package.json +++ /dev/null @@ -1 +0,0 @@ -../../theme/package.json \ No newline at end of file diff --git a/2019/2019-06-11_gitTraining/theme b/2019/2019-06-11_gitTraining/theme deleted file mode 120000 index c825a7e2c4319bb3364b86200faae29d75cd84c5..0000000000000000000000000000000000000000 --- a/2019/2019-06-11_gitTraining/theme +++ /dev/null @@ -1 +0,0 @@ -../../theme \ No newline at end of file