Skip to content

Commit

Permalink
Confuse pre-commit / stylua less by giving the file an extension.
Browse files Browse the repository at this point in the history
It seems like identify doesn't understand shebangs for languages
other than Python.
  • Loading branch information
Julian committed Sep 29, 2022
1 parent ff30600 commit 1b7f60a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions implementations/lua-jsonschema/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ RUN apk add --no-cache luajit luajit-dev pcre-dev gcc libc-dev curl make cmake &
./configure && make && make install
RUN sed -i '/WGET/d' /usr/local/share/lua/5.1/luarocks/fs/tools.lua
RUN luarocks install jsonschema
COPY json.lua .
COPY bowtie-jsonschema /usr/bin
CMD ["/usr/bin/bowtie-jsonschema"]
COPY json.lua bowtie_jsonschema.lua .
CMD ["luajit", "bowtie_jsonschema.lua"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env luajit
local jsonschema = require 'jsonschema'
local json = require 'json'

Expand Down

0 comments on commit 1b7f60a

Please sign in to comment.