diff options
-rw-r--r-- | snapcraft.yaml | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index 86392eaf..3e97c81e 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -88,15 +88,15 @@ parts: build-packages: # - ca-certificates # - apt-utils - - python3 + ## - python3 # - gcc++-8 # - capnproto # - curl # - execstack # - nodejs # - npm - - python3-pip - - python3-venv + ## - python3-pip + ## - python3-venv # stage-packages: # - libfontconfig1 override-build: | @@ -104,23 +104,24 @@ parts: rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules # Create the OpenAPI specification rm -rf .build - mkdir -p .build/python - cd .build/python - python3 -m venv env - . ./env/bin/activate - pip3 install -U setuptools wheel - git clone --depth 1 -b master https://github.com/Kronuz/esprima-python - cd esprima-python - python3 setup.py install - cd ../../.. - mkdir -p ./public/api - python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml + mkdir .build + ##mkdir -p .build/python + ##cd .build/python + ##python3 -m venv env + ##. ./env/bin/activate + ##pip3 install -U setuptools wheel + ##git clone --depth 1 -b master https://github.com/Kronuz/esprima-python + ##cd esprima-python + ##python3 setup.py install + ##cd ../../.. + ##mkdir -p ./public/api + ##python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml # we temporary need api2html and mkdirp - npm install -g --unsafe-perm api2html@0.3.0 - npm install -g --unsafe-perm mkdirp - api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml - npm uninstall -g --unsafe-perm mkdirp - npm uninstall -g --unsafe-perm api2html + ##npm install -g --unsafe-perm api2html@0.3.0 + ##npm install -g --unsafe-perm mkdirp + ##api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml + ##npm uninstall -g --unsafe-perm mkdirp + ##npm uninstall -g --unsafe-perm api2html # Node Fibers 100% CPU usage issue: # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 # https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 |