Explorar el Código

fix: remove references to nonexistent static/yarn.lock

File was removed in #11903. Also remove publishing script
that has been unused for some time
Gabriel Horner hace 3 meses
padre
commit
623618a04b
Se han modificado 4 ficheros con 2 adiciones y 22 borrados
  1. 1 3
      .github/workflows/build.yml
  2. 0 1
      .gitignore
  3. 1 1
      gulpfile.js
  4. 0 17
      scripts/publishing.sh

+ 1 - 3
.github/workflows/build.yml

@@ -45,9 +45,7 @@ jobs:
         with:
           node-version: ${{ env.NODE_VERSION }}
           cache: 'yarn'
-          cache-dependency-path: |
-            yarn.lock
-            static/yarn.lock
+          cache-dependency-path: yarn.lock
 
       - name: Set up Java
         uses: actions/setup-java@v3

+ 0 - 1
.gitignore

@@ -14,7 +14,6 @@ pom.xml.asc
 
 node_modules/
 static/**
-!static/yarn.lock
 tmp
 cljs-test-runner-out
 

+ 1 - 1
gulpfile.js

@@ -52,7 +52,7 @@ const css = {
 const common = {
   clean () {
     return del(
-      ['./static/**/*', '!./static/yarn.lock', '!./static/node_modules'])
+      ['./static/**/*', '!./static/node_modules'])
   },
 
   syncResourceFile () {

+ 0 - 17
scripts/publishing.sh

@@ -1,17 +0,0 @@
-#!/bin/sh
-yarn clean && yarn release-publishing
-/usr/bin/rm -rf /tmp/publishing
-mkdir /tmp/publishing
-cp -R ./static /tmp/publishing/
-cp ./static/404.html /tmp/publishing/
-/usr/bin/rm -rf /tmp/publishing/static/node_modules/
-/usr/bin/rm /tmp/publishing/static/electron*
-/usr/bin/rm /tmp/publishing/static/forge.config.js
-/usr/bin/rm /tmp/publishing/static/package.json
-/usr/bin/rm /tmp/publishing/static/yarn.lock
-/usr/bin/rm /tmp/publishing/static/index.html
-/usr/bin/rm /tmp/publishing/static/404.html
-/usr/bin/rm /tmp/publishing/static/public.css
-cd /tmp/publishing/
-mv ./static/js/publishing/code-editor.js ./static/js/
-tar -zcvf /tmp/logseq_publishing.tar.gz ./