Building new Absinthe Framework

44 views
Skip to first unread message

Tomas Roig Martinez

unread,
Dec 16, 2013, 12:19:56 PM12/16/13
to themp...@googlegroups.com

Hi,

i'm trying to set up the new version, following the steps in here: https://github.com/mwaylabs/The-M-Project/tree/absinthe for the mac/linux developer. I've installed all the dependencies, but when it comes to do: grunt dev, grunt gets stuck with the "watch task". It says: Waiting....

Where's the problem? How can i build the framework?

Thanks everyone and good job!

hano

unread,
Dec 16, 2013, 2:47:42 PM12/16/13
to themp...@googlegroups.com
Hi!
The grunt dev task is watching for file changes for the framework. So waiting means in this case: "waiting for a file change". If you change a file in the framework the watcher reacts on it and creates a new version of the framework.

Some more Information on this topic.
a) the generator builds the framework to the .tmp directory (inside the framework github clone directory)
b you only need the https://github.com/mwaylabs/The-M-Project/tree/absinthe repository to build your own framework or make changes to the existing one.
c) if you use the generator-m and you want to use your own builded framework do the following:
  1. inside the app folder: app/bower_components/themproject/ remove the dist folder
  2. create a link to the dist folder to the dist of your clone of a)
    cd YOURAPP/app/bower_components/themproject/"
    rm -rf dist
    ln -s /PATH/TO/The-M-Project/.tmp ./dist
d) the grunt dev task can also be run as grunt dev-js or grunt dev-css to watch only the js/css files

If you have any further questions don't hesitate to ask.
best regards
marco  

hano

unread,
Dec 18, 2013, 5:03:51 AM12/18/13
to themp...@googlegroups.com
Hi,
if you just want to build the framework without the watch task you can simple run: 'grunt'
This will update the .tmp folder without further watches on files.
To build a distribution you can use 'grunt dist' this will generate a minified version of the build - ready for distribution.

cheers 
marco
Reply all
Reply to author
Forward
0 new messages