Jump to content

JS files remaining on the github repo


jerome
 Share

Recommended Posts

Hi,

 

I hardly started contributing to this wonderful framework.

I'm not really in the mainstream because I use tools like SublimeText for editor, git command line or smartGit for git client and my system is Linux.

Well, it takes every kind of people to make the world go 'round ;)

 

When I code TS and test it, I noticed my generated JS files with gulp typescript were sometimes different than the original BJS JS downloaded (git fetch/merge) files. Probably because minor TS compiler default setting differences in my Linux from the Windows versions. Don't really know.

 

But this has the consequence that git usually forces these differences to be commited. So for a single TS file modified, the whole bunch of JS files comes along with it in the PR. :wacko:

 

Now BJS is a full TS project, couldn't JS files just be considered as compiled objects (like .o files regarding to source files in C for example) ?

 

So my question is : are the JS files still really needed in the github repo ?

Link to comment
Share on other sites

Quick answer is, no individual files are a left-over artifact.  If people cannot read typescript, I suppose it serves as reference material.  I would not miss if they were gone.  Everything is double.

 

I saw how you were doing a blanket commit.  You need only do the files you want to change.  Myself, I do not commit the .JS files, nor babylon.js.  Git command line supports this for sure.  http://git-scm.com/book/en/v1/Getting-Started

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...