Moving stuff around
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#! /usr/bin/env escript
|
||||
|
||||
|
||||
main([Version]) ->
|
||||
Tar = "zomp.tar.gz",
|
||||
ok = erl_tar:create(Tar, ["zomp"], [compressed]),
|
||||
Zip = "zx-" ++ Version ++ ".zip",
|
||||
ZipFiles =
|
||||
["install.escript",
|
||||
"install_unix",
|
||||
"install_windows.cmd",
|
||||
"notify.vbs",
|
||||
"README.md",
|
||||
"README.unix",
|
||||
"README.windows",
|
||||
"LICENSE",
|
||||
Tar],
|
||||
{ok, Zip} = zip:create(Zip, ZipFiles),
|
||||
ok = file:delete(Tar),
|
||||
ok = io:format("Wrote ~ts.~n", [Zip]),
|
||||
halt(0);
|
||||
main(_) ->
|
||||
ok = io:format("Provide a single version or extension string as an argument.~n"),
|
||||
halt(1).
|
||||
Reference in New Issue
Block a user