Skip to content

Commit 9c97055

Browse files
committed
README update
1 parent 27f49a1 commit 9c97055

File tree

1 file changed

+47
-18
lines changed

1 file changed

+47
-18
lines changed

README.md

Lines changed: 47 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,69 @@ Tools for working with and analyzing PowerQuery (M Language) scripts
1111

1212
# Build
1313
- [Install Nixpkgs]
14+
1415
- `make` (executable)
1516
~~~ shell
16-
12:52 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make
17+
13:54 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make
1718
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz
18-
/nix/store/3lzlivfyy7cqnxw0q594amsj94yswk43-powerquery-env
19-
12:52 barak@berkos:~/Development/atidot/language-powerquery/build (master) $
19+
/nix/store/a53pzr8ph5gqriwx2dw6p0b8ddpvdhs0-language-powerquery-env
2020
~~~
21+
2122
- `make` (JavaScript / NodeJS)
2223
~~~ shell
23-
00:25 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make build-js
24-
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz --arg compiler \"ghcjs\"
25-
/nix/store/ghn1vzidvvhh13cbmwr00qj70va6ir5y-powerquery-env
24+
13:54 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make build-js
25+
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz nodejs.nix
26+
/nix/store/drmnqrv4m9s7nik6gsjh7h4gpf5snrhj-language-powerquery-js-env
27+
13:54 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ node ./result/bin/pbix.jsexe/all.js
28+
Missing: COMMAND
29+
30+
Usage: all.js COMMAND
31+
PowerBI .pbix file analyzer
32+
~~~
33+
34+
- `make` (Static Executables)
35+
~~~ shell
36+
13:55 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make build-static
37+
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz static.nix --show-trace
38+
/nix/store/03nv9qxyf3d2cw2zj2h3y82b428wg2ya-language-powerquery-static-env
39+
13:54 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ ldd ./result/bin/pbix
40+
not a dynamic executable
2641
~~~
2742

2843
- `make` (Docker)
29-
- TODO:
44+
~~~ shell
45+
13:55 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make docker
46+
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz docker.nix -o docker.tar.gz
47+
/nix/store/76bh3g4z5bsfi9nyyg1dwxdx56gbkjsp-docker-image-language-powerquery.tar.gz
48+
~~~
49+
50+
- `make` (Reflex GHCJS Editor)
51+
~~~ shell
52+
13:55 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make editor
53+
nix-build --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz -A ghcjs.language-powerquery-editor editor.nix
54+
/nix/store/3fcb8zbcsp8pj2aip3z6smn3x3nhbw5p-language-powerquery-editor-0.1.0.0
55+
~~~
3056

3157
- `make` (notebook) - build and run IHaskell (Jupyter) server
3258
~~~ shell
33-
13:36 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make notebook
59+
13:56 barak@berkos:~/Development/atidot/language-powerquery/build (master) $ make notebook
3460
nix-shell --cores 0 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz -A env notebook.nix --command "jupyter lab --notebook-dir=../examples/"
35-
[W 13:37:07.009 LabApp] JupyterLab server extension not enabled, manually loading...
36-
[I 13:37:07.014 LabApp] JupyterLab extension loaded from /nix/store/wp1ddiscc9bha9gsf4k73mb0lcxcjbi2-python3.7-jupyterlab-0.35.4/lib/python3.7/site-packages/jupyterlab
37-
[I 13:37:07.015 LabApp] JupyterLab application directory is /nix/store/g22w2r0a6vzax71np2fzpxwzpx0wq1kf-python3.7-jupyterlab-0.35.4/share/jupyter/lab
38-
[I 13:37:07.017 LabApp] Serving notebooks from local directory: /home/barak/Development/atidot/language-powerquery/examples
39-
[I 13:37:07.017 LabApp] The Jupyter Notebook is running at:
40-
[I 13:37:07.017 LabApp] http://localhost:8888/?token=9b2938f88185aba667fd5858051083843361becd94208625
41-
[I 13:37:07.018 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
42-
[C 13:37:07.130 LabApp]
61+
[W 13:57:03.859 LabApp] JupyterLab server extension not enabled, manually loading...
62+
[I 13:57:03.866 LabApp] JupyterLab extension loaded from /nix/store/gzymczahplzh4azw94bsp83nkzgilw6y-python3.7-jupyterlab-0.35.4/lib/python3.7/site-packages/jupyterlab
63+
[I 13:57:03.866 LabApp] JupyterLab application directory is /nix/store/g22w2r0a6vzax71np2fzpxwzpx0wq1kf-python3.7-jupyterlab-0.35.4/share/jupyter/lab
64+
[I 13:57:03.869 LabApp] Serving notebooks from local directory: /home/barak/Development/atidot/language-powerquery/examples
65+
[I 13:57:03.869 LabApp] The Jupyter Notebook is running at:
66+
[I 13:57:03.869 LabApp] http://localhost:8888/?token=baeb27f55264e554e813a610028f06bfe48e6c6fca96d5af
67+
[I 13:57:03.869 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
68+
[C 13:57:03.982 LabApp]
4369

4470
Copy/paste this URL into your browser when you connect for the first time,
4571
to login with a token:
46-
http://localhost:8888/?token=9b2938f88185aba667fd5858051083843361becd94208625
47-
[I 13:37:07.300 LabApp] Accepting one-time-token-authenticated connection from ::1
72+
http://localhost:8888/?token=baeb27f55264e554e813a610028f06bfe48e6c6fca96d5af
73+
[I 13:57:04.209 LabApp] Accepting one-time-token-authenticated connection from ::1
74+
[I 13:57:05.261 LabApp] Node v8.15.0
75+
76+
[I 13:57:05.428 LabApp] Build is up to date
4877
~~~
4978

5079
## TODO

0 commit comments

Comments
 (0)