diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2016-04-30 08:50:28 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2016-04-30 08:50:28 +0200 |
| commit | bce09f281369718c2fe30fbe0fc3d53a5e2f5bcc (patch) | |
| tree | 28a62be76d9893d6bc72336af7e63074b5951493 /Gruntfile.js | |
| parent | 6ea3f96cdff659f17d70c656bc5c8b7d0def9e7e (diff) | |
| parent | f8b21e6f2f237ea16184f1ac5f17c20a4481864c (diff) | |
Merge branch 'maint'
Sync with latest maint branch bugfixes.
- Fix/Update LibreJS @source URL to cgit tree
- Change package.json bugs contact to bugs@pantsu.cat email, remove URL
- package.json: Use lowercase pomf for package name
- Gruntfile: Sort grunt-swig options alphabetically
Conflicts:
Gruntfile.js
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 2455ff7..488e5b7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,11 +7,13 @@ module.exports = function (grunt) { allowErrors: false }, banners: grunt.file.readJSON('pages/banners.json'), - max_upload_size: 128, dest: 'dist', - generateSitemap: false, generateRobotstxt: false, + generateSitemap: false, + max_upload_size: 128, pkgVersion: '<%= pkg.version %>', + production: false, + siteUrl: 'https://pantsu.cat/', src: [ 'pages/index.swig', 'pages/faq.swig', @@ -19,14 +21,12 @@ module.exports = function (grunt) { 'pages/other.swig', 'pages/nojs.swig' ], - siteUrl: 'https://pantsu.cat/', - production: false, } }, uglify: { options: { banner: '/*! <%= pkg.name %> (<%= pkg.repository.url %>) @ <%= grunt.template.today("yyyy-mm-dd") %> */\n' + - '// @source https://git.pantsu.cat/pantsu/pomf/src/master/js\n' + + '// @source https://git.pantsu.cat/pantsu/pomf/tree/js\n' + '// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat\n', footer: '\n// @license-end', screwIE8: true |
