-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
67 lines (54 loc) · 3.38 KB
/
Makefile
File metadata and controls
67 lines (54 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
all: gitco cleandesktop installdesktop builddesktop buildhomepageembed cleanmobile installmobile buildmobile gitadd gitci
desktop: gitco cleandesktop installdesktop builddesktop buildhomepageembed gitadd gitci
mobile: gitco cleanmobile installmobile buildmobile addtogit gitadd gitci
cleandesktop:
@echo "********************************************************************************"
@echo "* Removing desktop node_modules *"
@echo "********************************************************************************"
rm -rf node_modules
installdesktop:
@echo "********************************************************************************"
@echo "* Installing desktop node_modules *"
@echo "********************************************************************************"
npm install
builddesktop:
@echo "********************************************************************************"
@echo "* Building desktop app *"
@echo "********************************************************************************"
./node_modules/steal-tools/bin/steal build --main=bithub-social;
./node_modules/steal-tools/bin/steal build --main=bithub-embed
buildhomepageembed:
@echo "********************************************************************************"
@echo "* Building homepage embed *"
@echo "********************************************************************************"
./node_modules/steal-tools/bin/steal build --main=homepage_embed/index
cleanmobile:
@echo "********************************************************************************"
@echo "* Removing mobile node_modules *"
@echo "********************************************************************************"
cd new-bithub-client; rm -rf node_modules
installmobile:
@echo "********************************************************************************"
@echo "* Installing mobile node_modules *"
@echo "********************************************************************************"
cd new-bithub-client; npm install
buildmobile:
@echo "********************************************************************************"
@echo "* Building mobile app *"
@echo "********************************************************************************"
cd new-bithub-client; donejs build
gitco:
@echo "********************************************************************************"
@echo "* Switching to release branch"
@echo "********************************************************************************"
git checkout -b release
gitadd:
@echo "********************************************************************************"
@echo "* Forcefully adding to git"
@echo "********************************************************************************"
git add --force node_modules dist new-bithub-client/node_modules new-bithub-client/dist
gitadd:
@echo "********************************************************************************"
@echo "* Forcefully adding to git"
@echo "********************************************************************************"
git ci -m 'Release is out yall!'