-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (18 loc) · 694 Bytes
/
Copy pathMakefile
File metadata and controls
20 lines (18 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: all install
all:
git submodule update --init --recursive
cp 3rd/argparse/src/argparse.lua lualib
cp 3rd/argparse/src/argparse.lua templates/lualib
cp 3rd/uuid/src/uuid.lua templates/lualib
cp 3rd/fsm/src/fsm.lua templates/lualib
rm -r templates/lualib/behavior3
cp -r 3rd/behavior3/behavior3 templates/lualib
cp 3rd/revent/revent.lua templates/lualib
cp 3rd/fog/fog.lua templates/lualib
rm -r templates/luacheck
cp -r 3rd/git-hooks/luacheck templates
install:
install -m 0755 skynet-creator.sh /usr/local/bin/skynet-creator
mkdir -p /usr/local/share/skynet-creator
rm -rf /usr/local/share/skynet-creator/*
cp -r lualib modules templates /usr/local/share/skynet-creator