Skip to content

Commit

Permalink
Installation and minor fix (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Aug 2, 2024
1 parent 5d8d8c2 commit c61a436
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/goldfish.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ void display_help() {
<< "display version" << endl;
cout << "-e \t"
<< "-e '(+ 1 2)'" << endl;
cout << "-l FILE\t"
cout << "-l FILE \t"
<< "Load the scheme code on path" << endl;
cout << "FILE\t"
cout << "FILE \t"
<< "Load the scheme code on path and print the evaluated result" << endl;
}

void display_version() {
cout << "Goldfish Scheme " << goldfish_version << " by LiiiLabs" << endl;
cout << "based on S7 Scheme " << S7_VERSION << "(" << S7_DATE << ")" << endl;
cout << "based on S7 Scheme " << S7_VERSION << " (" << S7_DATE << ")" << endl;
}

void display_for_invalid_options() {
Expand Down
3 changes: 3 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ target ("goldfish") do
set_targetdir("$(projectdir)/bin/")
add_files ("src/goldfish.cpp")
add_packages("s7")

add_installfiles("goldfish/(scheme/*.scm)", {prefixdir = "goldfish"})
add_installfiles("goldfish/(srfi/*.scm)", {prefixdir = "goldfish"})
end

0 comments on commit c61a436

Please # to comment.