Skip to content

Commit 598a347

Browse files
committed
Removed the grunt zip task
Extra zip files will no longer be uploaded with every release. These used to contain the `dist` folder, but we're no longer using that folder. The source code zip files generated by GitHub now already contain the packaged files. Strip can be installed with Bower for a package containing only the files needed in production.
1 parent 7280549 commit 598a347

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

Gruntfile.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,11 @@ module.exports = function(grunt) {
7676
grunt.loadNpmTasks('grunt-contrib-concat');
7777
grunt.loadNpmTasks('grunt-contrib-copy');
7878
grunt.loadNpmTasks('grunt-contrib-uglify');
79-
grunt.loadNpmTasks('grunt-contrib-compress');
8079
grunt.loadNpmTasks('grunt-contrib-clean');
8180

8281
// Tasks
8382
grunt.registerTask('default', [
8483
'clean:js',
8584
'concat:production', 'uglify:production'
8685
]);
87-
88-
grunt.registerTask('zip', [
89-
'clean:js',
90-
'concat:production', 'uglify:production',
91-
'compress:production'
92-
]);
9386
};

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ To build Strip yourself start by cloning a copy of the main Strip git repo by ru
2626
git clone git://github.com/staaky/strip.git
2727
```
2828

29-
Install dependencies by running `npm install` in the strip directory:
29+
Go inside the strip folder that was just fetched and install dependencies:
3030

3131
```
32-
npm install
32+
cd strip && npm install
3333
```
3434

35-
Install the [grunt command line interface](https://github.com/gruntjs/grunt-cli) as a global package:
35+
Make sure the [grunt command line interface](https://github.com/gruntjs/grunt-cli) is installed as a global package:
3636

3737
```
3838
npm install -g grunt-cli
3939
```
4040

41-
Now run the `grunt` command in the strip directory, this updates `js/strip.js` and `js/strip.min.js` to include the latest changes:
41+
Now run the `grunt` command, this updates `js/strip.js` and `js/strip.min.js` to include the latest changes made in the `src` folder:
4242

4343
```
4444
grunt

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"devDependencies": {
2222
"grunt": "~0.4.1",
2323
"grunt-contrib-clean": "~0.4.1",
24-
"grunt-contrib-compress": "^0.12.0",
2524
"grunt-contrib-concat": "~0.3.0",
2625
"grunt-contrib-copy": "~0.4.1",
2726
"grunt-contrib-uglify": "~0.2.0"

0 commit comments

Comments
 (0)