Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to edit github url to use a different version of ace? #59

Closed
Dmitri-2 opened this issue Jul 27, 2016 · 1 comment
Closed

Any way to edit github url to use a different version of ace? #59

Dmitri-2 opened this issue Jul 27, 2016 · 1 comment

Comments

@Dmitri-2
Copy link

For our project, we are using browserify and brace, however, we would really like to use a different version of ace (in our github repo). Is there any way to edit the update.js script, or modify the npm package to change the exec('git clone git://github.com/ajaxorg/ace-builds.git ' + buildroot); command to exec('git clone git://github.com/gracelang/ace/fix-brackets/build ' + buildroot);? Cloning this repository and manually changing the url hasn't worked, since npm overwrites the "brace" directory, or throws an error due to it being a github repo. This issue is complicated by the fact that the npm build of brace does not include the build directory. If this isn't something that is feasible, or even possible — sorry for the extra issue!

@Dmitri-2
Copy link
Author

Sorry for the noise! The obvious solution that I missed, although not ideal, is to use a local copy of brace, change the url there (and some of the other exec() commands to get the correct folder). Then run the npm update command on the local copy, and change the npm dependency to the local copy. (Probably not possible with npm, but it would be awesome to have an option to link to another ace repo for brace.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant