Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
318338f9
Commit
318338f9
authored
Jan 01, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated zip release task
parent
7c72705b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
.gitignore
+2
-1
tasks/distribute_task.js
+1
-0
tasks/options/compress.js
+8
-8
No files found.
.gitignore
View file @
318338f9
node_modules
coverage/
.aws-config.json
dist
/dist
/tmp
# locally required config files
web.config
...
...
tasks/distribute_task.js
View file @
318338f9
...
...
@@ -4,6 +4,7 @@ module.exports = function(grunt) {
// build, then zip and upload to s3
grunt
.
registerTask
(
'release'
,
[
'build'
,
'build-post-process'
,
'compress:zip_release'
,
'compress:tgz_release'
,
]);
...
...
tasks/options/compress.js
View file @
318338f9
...
...
@@ -2,12 +2,12 @@ module.exports = function(config) {
return
{
zip
:
{
options
:
{
archive
:
'<%=
temp
Dir %>/<%= pkg.name %>-latest.zip'
archive
:
'<%=
dest
Dir %>/<%= pkg.name %>-latest.zip'
},
files
:
[
{
expand
:
true
,
cwd
:
'<%=
dest
Dir %>'
,
cwd
:
'<%=
temp
Dir %>'
,
src
:
[
'**/*'
],
dest
:
'<%= pkg.name %>/'
,
},
...
...
@@ -20,12 +20,12 @@ module.exports = function(config) {
},
tgz
:
{
options
:
{
archive
:
'<%=
temp
Dir %>/<%= pkg.name %>-latest.tar.gz'
archive
:
'<%=
dest
Dir %>/<%= pkg.name %>-latest.tar.gz'
},
files
:
[
{
expand
:
true
,
cwd
:
'<%=
dest
Dir %>'
,
cwd
:
'<%=
temp
Dir %>'
,
src
:
[
'**/*'
],
dest
:
'<%= pkg.name %>/'
,
},
...
...
@@ -38,12 +38,12 @@ module.exports = function(config) {
},
zip_release
:
{
options
:
{
archive
:
'<%=
temp
Dir %>/<%= pkg.name %>-<%= pkg.version %>.zip'
archive
:
'<%=
dest
Dir %>/<%= pkg.name %>-<%= pkg.version %>.zip'
},
files
:
[
{
expand
:
true
,
cwd
:
'<%=
dest
Dir %>'
,
cwd
:
'<%=
temp
Dir %>'
,
src
:
[
'**/*'
],
dest
:
'<%= pkg.name %>-<%= pkg.version %>/'
,
},
...
...
@@ -56,12 +56,12 @@ module.exports = function(config) {
},
tgz_release
:
{
options
:
{
archive
:
'<%=
temp
Dir %>/<%= pkg.name %>-<%= pkg.version %>.tar.gz'
archive
:
'<%=
dest
Dir %>/<%= pkg.name %>-<%= pkg.version %>.tar.gz'
},
files
:
[
{
expand
:
true
,
cwd
:
'<%=
dest
Dir %>'
,
cwd
:
'<%=
temp
Dir %>'
,
src
:
[
'**/*'
],
dest
:
'<%= pkg.name %>-<%= pkg.version %>/'
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment