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

Include built code in .gitignore #16

Merged
merged 5 commits into from
Aug 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Dash built code

webviz_subsurface_components/**/*
!webviz_subsurface_components/__init__.py

# Created by .ignore support plugin (hsz.mobi)
### VisualStudioCode template
.vscode/*
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ before_install:
- pip install --upgrade pip

install:
- npm install
- pip install .[dependencies]
- pip install .[tests]
- pip install dash[testing]
- npm install
- wget https://chromedriver.storage.googleapis.com/76.0.3809.12/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- export PATH=$PATH:$PWD
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ If you have selected install_dependencies during the prompt, you can skip this p
`webviz_subsurface_components/__init__.py` so dash will serve them
automatically when the component suite is requested.

- [Review your code](./review_checklist.md)

### Build code and install

1. Build your code:
Expand All @@ -87,5 +85,5 @@ If you have selected install_dependencies during the prompt, you can skip this p
```
2. Install the Python package:
```
python setup.py install
pip install -e .
```
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
"main": "build/index.js",
"scripts": {
"start": "webpack-serve ./webpack.serve.config.js --open",
"postinstall": "cp ./package.json webviz_subsurface_components/package.json",
"validate-init": "python _validate_init.py",
"prepublish": "npm run validate-init",
"prepublishOnly": "npm run validate-init",
"build:js-dev": "webpack --mode development",
"build:js": "webpack --mode production",
"build:py": "dash-generate-components ./src/lib/components webviz_subsurface_components",
"build:py-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py)",
"build:all": "npm run build:js && npm run build:js-dev && npm run build:py",
"build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)",
"test": "jest"
},
"author": "R&T Equinor",
Expand Down
47 changes: 0 additions & 47 deletions review_checklist.md

This file was deleted.

31 changes: 0 additions & 31 deletions webviz_subsurface_components/HistoryMatch.py

This file was deleted.

35 changes: 0 additions & 35 deletions webviz_subsurface_components/Map.py

This file was deleted.

34 changes: 0 additions & 34 deletions webviz_subsurface_components/Morris.py

This file was deleted.

9 changes: 0 additions & 9 deletions webviz_subsurface_components/_imports_.py

This file was deleted.

128 changes: 0 additions & 128 deletions webviz_subsurface_components/metadata.json

This file was deleted.

53 changes: 0 additions & 53 deletions webviz_subsurface_components/package.json

This file was deleted.

Loading