Ignore gradle/wrapper folder

remove grunt file
This commit is contained in:
Hristo Hristov
2016-01-11 12:27:50 +02:00
parent 375a8d2592
commit 185f32e1b2
2 changed files with 2 additions and 51 deletions

6
.gitignore vendored
View File

@@ -35,6 +35,7 @@ local.properties
# Gradle generated files # Gradle generated files
.gradle/ .gradle/
gradle/
# Signing files # Signing files
.signing/ .signing/
@@ -42,8 +43,3 @@ local.properties
# OS-specific files # OS-specific files
.DS_Store .DS_Store
.DS_Store? .DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

View File

@@ -1,45 +0,0 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
clean: {
build: ["build"]
},
exec: {
npm_pack: {
cmd: 'npm pack ./package',
cwd: 'build/'
},
gradle: 'gradle build'
},
copy: {
package: {
files: [
{ expand: true, src: 'package.json', dest: 'build/package' },
{ expand: true, cwd: 'widgets/build/outputs/aar', src: 'widgets-release.aar', dest: 'build/package/platforms/android' }
]
}
},
mkdir: {
build: {
options: {
create: ["build/package"]
}
}
}
});
grunt.loadNpmTasks('grunt-exec');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-mkdir');
// Default task(s).
grunt.registerTask('default', [
'clean:build',
'mkdir:build',
'exec:gradle',
'copy:package',
'exec:npm_pack'
]);
};