Skip to content

Build the UI as its own module - #1073

Merged
tpetr merged 8 commits into
masterfrom
ui_pom
Jun 9, 2016
Merged

tpetr merged 8 commits into
masterfrom
ui_pom

Conversation

@kwm4385

@kwm4385 kwm4385 commented Jun 8, 2016 •

Copy link
Copy Markdown
Contributor

We want Singularity to build independently of SingularityService. This creates a new pom for the UI and moves the build into that. SingularityService then depends on that and copies the files from dist/ to its own resources.

@tpetr

Comment thread SingularityUI/gulpfile.js Outdated
path.resolve(dest, 'static/**'),
path.resolve(dest, 'index.html')], {force: true});
path.resolve(dest, 'index.html'),
dest], {force: true});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i had to add {force: true} in the original implementation because we were deleting a folder outside the working directory -- this shouldnt be needed anymore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

in fact, i would further simplify this to just del([dest])

@tpetr
tpetr merged commit a05d850 into master Jun 9, 2016
@tpetr tpetr removed hs_qa labels Jun 9, 2016
@tpetr tpetr added this to the 0.8.0 milestone Jun 16, 2016
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

Successfully merging this pull request may close these issues.

2 participants