-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial work of Grunt.js-ifiying the repo #10
Conversation
Hey Pangratz, looking good thanks! I've never used grunt, so I don't know if this is the best approach or not. But it certainly removes the "gem install jspp" dependency that bugged me. Feel free to keep making changes, but I'm going to spend a day or so looking at grunt before I merge. |
I'll let you know when I think the work is done 馃槈 Cheers. |
Alright, with the latest commit 88c6aff the whole Makefile functionality should be ported to Grunt.js. Though the content of the Makefile-version and Grunt.js-version of the generated I also thought of further cleaning up the codebase. What do you think of creating a |
I think the main stuff which should be covered by this PR has been done: the Makefile (and the The last commit 8ca5210 introduces the output of the un-minified version of |
Hey pangratz, so I've checked out your gruntfile, and I'm now wondering if this is better than plain Makefile. Pros of Grunt:
Cons of Grunt:
I'm now leaning towards the Makefile, and maybe adapting it to use npm for build deps, and come up with a better replacement for jspp. |
Just my two cents: having a stack full of js tools makes the project easier to get started with. Relying on grunt also helps to easily build a full project around. |
About the lines in the Gruntfile: I am sure it can be further decreased. I have started using Grunt.js in the last weeks and it feels like a very handy tool for building JS stuff, but I'm sure there is potential for improving the file. About the incremental builds, maybe there is a way to configure the tasks so they are only executed when preconditions are met or not. But I think that creating the lib from a fresh, clean state is not too expensive. |
+1 |
Thanks for this pull request, but I'm going to close it. The Makefile solution works great, it is clean and simple, and now uses npm for all build dependencies. |
Hey, first of all: very nice stuff! I like the idea of rendering the sequence diagram entirely in the browser 馃憤
I've seen in the README that you plan to use Grunt.js instead of the Makefile, so I gave it a try. I'm not sure if I moved the functionality correctly and I couldn't find out how to test my changes, also I plan to update the README and remove the obsolete Makefile.
I just wanted to open this PR to get some early feedback.
This will replace the Makefile like this: