Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

chore(install): reintroduce single install script #1900

Closed
wants to merge 1 commit into from

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Jul 16, 2016

Our installation process can change rapidly. I think it helps if we have a single script to run that we ensure is up-to-date for all.

This PR reintroduces a single install script, which, in particular:

  • Checks for the proper version of node (some of us develop with node
    v4 on other sites, and it is too easy to forget to switch to v5 for
    angular.io).
  • Applies the patch (that is necessary to support harp compilation of
    Dart API pages).

This single install script:
- Checks for the proper version of node (some of us develop with node
v4 on other sites, and it is too easy to forget to switch to v5 for
angular.io).
- Applies the patch (that is necessary to support harp compilation of
Dart API pages).
@chalin
Copy link
Contributor Author

chalin commented Jul 16, 2016

@filipesilva @Foxandxss @wardbell @kwalrath : ready for review. Note that I have not touched the travis config.


cd `dirname $0`/..

if [[ "$(node --version)" < "v5" ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node 4 is a valid node. Well, there is a new change that made v4 unusable but we could fix that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, node v4 doesn't work for @kwalrath, and more often than not, forgetting to switch to v5 for Kathy has cause problems and results in wasted time.

Are you aware of anyone who must stick with node 4 and who is required to build ng.io docs? (Kathy has to do this every time she tests out a PR for merging :) If not, IMHO, we should just just drop v4.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, no one, but we were always striving to have node 4.x support, but I guess it is fine to not have it on this project.

@filipesilva
Copy link
Contributor

lgtm.

@chalin you mentioned something about the dart compilation, is it possible to run dart specific tasks via the CI at the moment? I tried to cover the ts/js ones I know of, but I don't know anything about the dart workflow for docs.

@chalin
Copy link
Contributor Author

chalin commented Jul 16, 2016

is it possible to run dart specific tasks via the CI at the moment?

Not at the moment. That is part of what I will be working on next.

@wardbell wardbell closed this in daca93c Jul 17, 2016
@chalin chalin deleted the chalin-chore-install-sh-0715 branch July 17, 2016 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants