Issue 658 (amber create command) is closed and the same thing has
been reopened as `amber create` command https://github.com/amber-smalltalk/amber/issues/915 So we can implement the 'create project' feature either with amber or grunt-init --Hannes On 4/11/14, H. Hirzel <[hidden email]> wrote: > We have the issue No 658 > https://github.com/amber-smalltalk/amber/issues/658 > > amber cli should have command 'create' that creates template of a new > project > > > The implementation could be done either with > a) > grunt-init amber myPackage > > > or an amber CLI command > > b) > amber create myPackage > > I prefer actually b) but as for now it seems that the implementation > of a) is not all that far away .... :) > > What do you think? Do we need both in the end? Probably not? > > --Hannes > > P.S. Is this issue related to > AmberCli: write package command? > https://github.com/amber-smalltalk/amber/issues/673 > ? > > On 4/11/14, Herby Vojčík <[hidden email]> wrote: >> Hi! >> >> This seems to be a serious show-stopper to me. Should we rely on >> grunt-init when it first need to perform npm install grunt in the >> project directory? >> >> IT seems it's defying logic of it, as it should be initializing the >> project... Manfred, do we do something wrong? >> >> Herby >> >> paul wrote: >>> Hey Hannes, >>> I encountered the same and read >>> http://stackoverflow.com/questions/13925916/fatal-error-unable-to-find-local-grunt >>> installing grunt locally in the project by running "npm install grunt" >>> seems to have solved the problem. >>> Kind regards, >>> Paul >>> >>> Am Donnerstag, 10. April 2014 17:16:12 UTC+2 schrieb Hannes: >>> >>> Manfred, >>> >>> I have started here >>> >>> https://github.com/hhzl/grunt-init-amber/blob/master/README.md >>> <https://github.com/hhzl/grunt-init-amber/blob/master/README.md> >>> >>> I installed http://gruntjs.com/project-scaffolding >>> <http://gruntjs.com/project-scaffolding> (grunt-init) and >>> followed the instructions >>> >>> But then after >>> >>> mkdir myamberproject >>> cd myamberproject >>> bower install amber --save >>> grunt init amber >>> >>> >>> Then I get the following >>> <errorMessage> >>> grunt-cli: The grunt command line interface. (v0.1.13) >>> >>> Fatal error: Unable to find local grunt. >>> >>> If you're seeing this message, either a Gruntfile wasn't found or >>> grunt >>> hasn't been installed locally to your project. For more information >>> about >>> installing and configuring grunt, please see the Getting Started >>> guide: >>> >>> http://gruntjs.com/getting-started >>> <http://gruntjs.com/getting-started> >>> </errorMessage> >>> >>> I have installed grunt-cli in addition. >>> >>> What I did is here >>> https://github.com/hhzl/grunt-init-amber/blob/master/README.md >>> <https://github.com/hhzl/grunt-init-amber/blob/master/README.md> >>> >>> What am I missing? >>> >>> --Hannes >>> >>> On 4/10/14, H. Hirzel <[hidden email] <javascript:>> wrote: >>> > Philippe, Nicolas and Manfred >>> > >>> > I have forked Philippe's 'amber-kickstart' and made it simpler ( >>> > >>> > - only one index.html >>> > - renamed 'SamplePackage' to 'MyPackage'. >>> > - Added button which brings up the 'Counter'. >>> > - Unfortunately the old IDE does not work anymore. But Helios >>> does. >>> > >>> > https://github.com/hhzl/amber-kickstart >>> <https://github.com/hhzl/amber-kickstart> >>> > >>> > Armed with the insight gained this exercise I now move on to >>> update >>> > >>> > https://github.com/mkroehnert/grunt-init-amber >>> <https://github.com/mkroehnert/grunt-init-amber> >>> > >>> > >>> > The grunt-init-amber approach will have the following advantages >>> > >>> > - It allows for parametrization of the package name >>> > - When added to amber there is no need to download an additional >>> project. >>> > >>> > --Hannes >>> > >>> > On 4/10/14, [hidden email] <javascript:> >>> <[hidden email] <javascript:>> wrote: >>> >> Yes >>> >> >>> >> On Thursday, April 10, 2014, H. Hirzel <[hidden email] >>> <javascript:>> wrote: >>> >> >>> >>> On 4/5/14, [hidden email] <javascript:> <javascript:;> >>> >>> <[hidden email] <javascript:><javascript:;>> >>> >>> wrote: >>> >>> > In order to help getting things work faster, I make >>> amber-kickstart. >>> >>> > >>> >>> > *https://github.com/philippeback/amber-kickstart >>> <https://github.com/philippeback/amber-kickstart> >>> >>> > <https://github.com/philippeback/amber-kickstart >>> <https://github.com/philippeback/amber-kickstart>>* >>> >>> > >>> >>> > *Next would be to have a nicer bower json thing in there.* >>> >>> > >>> >>> > *But what was biting me the most what the the IDE wouldn't >>> load if the >>> >>> > package was required and empty. Bummer but can be a >>> showstopper for a >>> >>> > couple of people.* >>> >>> >>> >>> I assume you created >>> >>> >>> >>> >>> >>> https://github.com/philippeback/amber-kickstart/blob/master/template/st/SamplePackage.st >>> >>> <https://github.com/philippeback/amber-kickstart/blob/master/template/st/SamplePackage.st> >>> >>> >>> manually to work around this? >>> >>> >>> >>> --Hannes >>> >>> >>> >>> > *Phil* >>> >>> >>> >>> >>> >>> P.S. This applies to the released version 0.12.3, correct? >>> >>> >>> >>> https://github.com/amber-smalltalk/amber/issues/milestones?state=closed >>> >>> <https://github.com/amber-smalltalk/amber/issues/milestones?state=closed> >>> >>> >>> >>> >>> -- >>> >>> You received this message because you are subscribed to the >>> >>> Groups >>> >>> "amber-lang" group. >>> >>> To unsubscribe from this group and stop receiving emails from >>> it, send >>> >>> an >>> >>> email to [hidden email] <javascript:> >>> <javascript:;>. >>> >>> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. >>> >>> >>> >> >>> >> >>> >> -- >>> >> --- >>> >> Philippe Back >>> >> Visible Performance Improvements >>> >> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 >>> >> [hidden email] <javascript:> | Web: >>> http://philippeback.eu >>> >> Blog: http://philippeback.be | Twitter: @philippeback >>> >> Youtube: http://www.youtube.com/user/philippeback/videos >>> <http://www.youtube.com/user/philippeback/videos> >>> >> >>> >> High Octane SPRL >>> >> rue cour Boisacq 101 | 1301 Bierges | Belgium >>> >> >>> >> Pharo Consortium Member - http://consortium.pharo.org/ >>> >> Featured on the Software Process and Measurement Cast - >>> >> http://spamcast.libsyn.com >>> >> Sparx Systems Enterprise Architect and Ability Engineering >>> EADocX Value >>> >> Added Reseller >>> >> >>> >> -- >>> >> You received this message because you are subscribed to the >>> Google Groups >>> >> "amber-lang" group. >>> >> To unsubscribe from this group and stop receiving emails from >>> it, send an >>> >> email to [hidden email] <javascript:>. >>> >> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. >>> >> >>> > >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "amber-lang" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [hidden email] >>> <mailto:[hidden email]>. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [hidden email]. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi,
-- On Fri, Apr 11, 2014 at 1:38 PM, H. Hirzel <[hidden email]> wrote: Issue 658 (amber create command) is closed and the same thing has actually it is the other way around. #915 has been closed as a duplicate of #658. The idea is to write 'amber create' in Amber and reuse grunt-init.
Best, Manfred You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |