couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to e87abf4
Date Wed, 18 Mar 2015 12:40:49 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 65e0933a3 -> e87abf448


build: fix order of tasks

fix error where specific files where not available for the build,
resulting in

```
Running "requirejs:compile" (requirejs) task
Error: ENOENT, no such file or directory
'/home/travis/build/robertkowalski/couchdb/src/fauxton/app/initialize.js'
In module tree:
    main
      app

```

how to reproduce the error, on couchdb master:

```
rm -rf share/www/ && rm -rf src/fauxton/dist && rm \
src/fauxton/app/initialize.js && make fauxton
```

it happens as `src/fauxton/app/initialize.js` is added to the
gitignore and if the file got generated before (from previous
fauxton builds) you will not run into it.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/e87abf44
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/e87abf44
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/e87abf44

Branch: refs/heads/master
Commit: e87abf448dd8915ee2be28849cec0bd4cbec4a0a
Parents: 65e0933
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Wed Mar 18 13:21:49 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Wed Mar 18 13:29:11 2015 +0100

----------------------------------------------------------------------
 Gruntfile.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e87abf44/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 84e349b..be5dc97 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -537,9 +537,11 @@ module.exports = function(grunt) {
   grunt.registerTask('watchRun', ['clean:watch', 'dependencies', 'jshint']);
 
   // build a release
-  grunt.registerTask('release_commons', ['clean' ,'dependencies', 'jshint', 'shell:build-jsx',
'build', 'copy:dist', 'copy:ace', 'copy:zeroclip']);
-  grunt.registerTask('release', ['release_commons', 'gen_initialize:release']);
-  grunt.registerTask('couchapp_release', ['release_commons', 'gen_initialize:couchapp']);
+  grunt.registerTask('release_commons_prefix', ['clean' ,'dependencies']);
+  grunt.registerTask('release_commons_suffix', ['jshint', 'shell:build-jsx', 'build', 'copy:dist',
'copy:ace', 'copy:zeroclip']);
+
+  grunt.registerTask('release', ['release_commons_prefix', 'gen_initialize:release', 'release_commons_suffix']);
+  grunt.registerTask('couchapp_release', ['release_commons_prefix', 'gen_initialize:couchapp',
'release_commons_suffix']);
 
   /*
    * Install into CouchDB in either debug, release, or couchapp mode


Mime
View raw message