sbt-native-packager icon indicating copy to clipboard operation
sbt-native-packager copied to clipboard

AshScriptPlugin generates script without function

Open sanyer opened this issue 3 years ago • 2 comments

Expected behaviour

/opt/docker/bin/

Actual behaviour

/opt/docker/bin/

Information

  • What sbt-native-packager are you using 1.3.20
  • What sbt version 1.5.5
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) debian
  • What package are you building (e.g. docker, rpm, ...) docker
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7) alpine

sanyer avatar Oct 13 '22 15:10 sanyer

Does this also happen in the latest version? There has been quite some changes to the ash script @sanyer

muuki88 avatar Feb 09 '23 08:02 muuki88

I can give it a try @muuki88 But looking at src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/ash-template I can see that function require_arg is not defined still. 🤷🏻

sanyer avatar Feb 09 '23 13:02 sanyer