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

Ignore fastboot build output file if app unused/disable fastboot #468

Merged
merged 6 commits into from
Mar 28, 2020

Conversation

houfeng0923
Copy link
Contributor

hi @xg-wang :
i am doing work on reducing assets files size for deploy.
there is no ember-cli-fastboot in my project , so can we remove fetch-fastboot file in outputTree ? .

@houfeng0923
Copy link
Contributor Author

btw, i find a related issue : #320

Copy link
Member

@xg-wang xg-wang left a comment

Choose a reason for hiding this comment

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

index.js Outdated Show resolved Hide resolved
@houfeng0923
Copy link
Contributor Author

hi, @xg-wang , unit test appended is passed in local dev env , but CI is fail in pull.

@xg-wang
Copy link
Member

xg-wang commented Mar 23, 2020

@houfeng0923 I think CI fails because node8 doesn't have .finally

@houfeng0923
Copy link
Contributor Author

sorry, @xg-wang, last commit is passed in unit test, but CI always fail ,
maybe we need upgrade dependencies

});
});

it('build with process.env.FASTBOOT_DISABLED', function() {
Copy link
Member

Choose a reason for hiding this comment

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

The default app does not have ember-cli-fastboot, this test needs to install then set the flag to actually test the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i know u meaning, but i think it's a case point in ember fastboot.
but if you think so, case can update .

@xg-wang
Copy link
Member

xg-wang commented Mar 25, 2020

@houfeng0923 the dependency issue is resolved, I tried to push your branch to a fork and ci is passing https://github.com/xg-wang/ember-fetch/runs/533697154

@xg-wang xg-wang changed the title ignore public fastboot file if app unused/disable fastboot Ignore fastboot build output file if app unused/disable fastboot Mar 28, 2020
@xg-wang xg-wang merged commit 6d6e700 into ember-cli:master Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants