GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AutoZip · JLiscom/OpenNote@54a3dc6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Gruntfile.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Gruntfile.js‎

Copy file name to clipboardExpand all lines: Gruntfile.js
+8-12Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ module.exports = function(grunt) {
44
compress: {
55
main: {
66
options: {
7-
archive: "version.zip"
7+
archive: "build/version.zip"
88
},
9-
src: ["OpenNote/**/*"]
9+
files: [{
10+
src: ["**/*"],
11+
cwd:"OpenNote/",
12+
expand: true
13+
}]
1014
}
1115
},
1216
jshint: {
@@ -105,15 +109,7 @@ module.exports = function(grunt) {
105109
"cd OpenNote",
106110
"rm -rf bower_components",
107111
"cd openNote/style/invert/",
108-
"rm -rf dark",
109-
"rm -rf light"].join("&&")
110-
},
111-
phpPackage:{
112-
command: [ "mkdir build",
113-
"cd build",
114-
"cp -r ../OpenNote/* ./",
115-
"cp -r ../../OpenNoteService-PHP/Service ./",
116-
"cp -r ../../OpenNoteService-PHP/vendor ./"].join("&&")
112+
"rm -rf dark light"].join("&&")
117113
}
118114
},
119115
//HTML 5
@@ -157,7 +153,7 @@ module.exports = function(grunt) {
157153
// you can run individual command using the plug-in command syntax suck as manifest:generate or shell:clean
158154
grunt.registerTask("build", ["shell:bowerInstall", "buildDevCSS", "manifest:generate"]);
159155
grunt.registerTask("default", ["build"]);
160-
grunt.registerTask("deploy", ["shell:clean", "shell:bowerInstall", "buildProdCSS", "manifest:generate"]);
156+
grunt.registerTask("deploy", ["shell:clean", "shell:bowerInstall", "buildProdCSS", "manifest:generate","compress"]);
161157

162158
//testing
163159
grunt.registerTask("devmode", ["karma:unit", "watch"]);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.