-
Notifications
You must be signed in to change notification settings - Fork 2
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
remove ruby, browsersync, linting, pretty much everything #14
Conversation
The directions seem to be missing the step that you need to run Also, when trying to run Also, once gulp started running, I get the following error:
If I follow the steps on this page (https://sculpin.io/download/) to install sculpin, then I can run I did try running composer install, but sculpin isn't a dependency that we declare there. Not sure if including it in the composer.json file would solve our sculpin problems or not. Other than that, everything works as planned! I was using VirtualBox + Vagrant and there was a noticeable lag between saving and gulp noticing, but that's the issue we're addressing using VMWare. |
Hm, can you require butler by adding a package.json to the project that is using butler? I would expect to do something like this:
|
Yes in theory, you can add it to a project by just running the |
Haha, I tested it, it does not work. Here is the {
"name": "test-add-butler",
"version": "0.0.0",
"description": "test requiring butler with npm",
"dependencies": {
"@palantirnet/butler": "git+ssh://[email protected]:palantirnet/butler.git[#remove-ruby]"
}
} npm throws errors, I think telling me that I'm not using the correct repository name:
Anyway, once this is working, I would consider including a bare-bones npm package file like |
Using https doesn't seem to make any difference: "@palantirnet/butler": "git+https://[email protected]:palantirnet/butler.git[#remove-ruby]" |
Ahh, ok! With this {
"name": "@palantirnet/test-add-butler",
"version": "0.0.0",
"description": "test requiring butler with npm",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"butler": "git://github.com/palantirnet/butler.git#remove-ruby"
}
} I can run |
Message is broken for deploy.
|
So what I would expect when adding butler to a project is that package.json file above. Then, I would be able to run butler with It could be So probably butler should provide a command called {
"name": "@palantirnet/butler",
"bin": {
"butler": "./bin/butler"
}
} I don't know exactly what this script would be made of, but you would run it from your project like So that was quite the ramble. Here are a few resources: |
Also we should probably be using a "scoped" package name like |
@@ -1,8 +1,8 @@ | |||
Rakefile | |||
*.DS_Store | |||
*.sass-cache/ | |||
.DS_Store |
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.
This belongs in your global .gitignore
@labbydev I've gone ahead and added the --project-dir option so that sculpin does not need to be run in the same directory as the styleguide based on https://palantir.atlassian.net/browse/BUTLER-2 |
See full notes here
Current Functionality
building sculpin and compiling sass.
Removes:
Includes:
Testing Instructions:
vagrant up
vagrant ssh
cd /var/sites/{project}/butler
npm install -g gulp
npm install
gulp
http://{project}.local:8000/
body { background:darkseagreen;
}