haruki7049 / buildJanetPackage

A Janet-lang builder using Nix package manager
MIT License
0 stars 0 forks source link

feat: Read executable-name by project.janet file #3

Open haruki7049 opened 3 months ago

haruki7049 commented 3 months ago

commit-hash: cb6cce4524e722b29b0fd188a5bc86baa682eb88

readExecutableName function

haruki7049 commented 3 months ago

readExecutableName function, which can read executable binary's name by project.janet file

(declare-project
  :name "http-server")

(declare-executable
  :name "http-server" # This value, "http-server" is read by readExecutableName function
  :entry "main.janet"
  :install true)