-
Notifications
You must be signed in to change notification settings - Fork 238
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
add OSX check for package #23
Conversation
@@ -213,12 +222,14 @@ package() { | |||
done; \ | |||
sed -i '' -e "s|http://localhost:8080|${server}|g" target/constants.json 2>/dev/null; \ | |||
sed -i '' -e "s|VERSIONLOC|${version}|g" target/app/index.html 2>/dev/null; \ | |||
if [ -z "$OS" ]; then \ | |||
(cd target; \ | |||
npm install; \ | |||
bower install; \ | |||
grunt clean; \ | |||
grunt build --target=develop --no-color); \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@longdogz in the context of jenkins, we still need to exec the above grunt build, no?
the objective here is to leverage ./bin/wasabi.sh to the fullest extent possible, which works quite well on osx but for linux we will assume (for now) the dependent toolchain we brew install today (eg vagrant, fpm, grunt, et al) is pre-installed, as it is in our internal system. as such, i suspect we need to exec the above non-install operations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, @jwtodd , but I'm not sure what the context is. Are you asking what we should do related to the UI when doing a jenkins build internally? I guess it depends on whether you want to build and install the UI? If so, then you need those commands. It seems that "-z "$OS"" is a check if that var is empty, right? I don't see where it gets set in the script. But basically, those commands are necessary if you want the UI built at all.
Also, you mention something about grunt being pre-installed. I don't think it is pre-installed on any system, certainly, not on our laptops. It is on jenkins, because it was installed globally by hand (by me, probably). So, again, not sure what you're asking.
+1 from me ... but let's hear what @longdogz has to say |
see: #15 |
2. Removed deb while creating rpm 3. Removed copy of feedbackserver from modules/ui
@shaikhjamir blocked on this one? if so, let's go ahead with the merge. |
While executing the package target added OS check