Skip to content

Commit a7430ba

Browse files
committed
Updating the hidden directory. Changed from .local to .computer.
1 parent a8b7410 commit a7430ba

File tree

10 files changed

+46
-45
lines changed

10 files changed

+46
-45
lines changed

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Copyright (c) 2013, Lars Yencken
2+
Portions Copyright (c) 2019, Damon Sicore
23
All rights reserved.
34

45
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# computer-deps
22

3-
Personal package dependencies for [Computer](https://github.com/monadicus/computer), a test-driven system administration tool written in Prolog.
3+
Personal package dependencies for [Computer](https://github.com/monadicus/computer), a shell hack written in Prolog.
44

55
## Meta packages
66

docker.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
depends(docker, osx, [boot2docker]).
1212

1313
meet(docker, osx) :-
14-
curl('https://get.docker.io/builds/Darwin/x86_64/docker-latest', '~/.local/bin/docker'),
15-
bash('chmod a+x ~/.local/bin/docker').
14+
curl('https://get.docker.io/builds/Darwin/x86_64/docker-latest', '~/.computer/bin/docker'),
15+
bash('chmod a+x ~/.computer/bin/docker').
1616

1717
git_step('docker-source',
1818
'https://github.com/dotcloud/docker',
19-
'~/.local/docker'
19+
'~/.computer/docker'
2020
).
2121

2222
pkg('__docker ppa').
@@ -34,5 +34,5 @@
3434

3535
command_pkg(boot2docker).
3636
meet(boot2docker, osx) :-
37-
curl('https://raw.github.com/steeve/boot2docker/master/boot2docker', '~/.local/bin/boot2docker'),
38-
bash('chmod a+x ~/.local/bin/boot2docker').
37+
curl('https://raw.github.com/steeve/boot2docker/master/boot2docker', '~/.computer/bin/boot2docker'),
38+
bash('chmod a+x ~/.computer/bin/boot2docker').

drake.pl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@
1111

1212
git_step('__drake checked out',
1313
'https://github.com/Factual/drake',
14-
'~/.local/drake'
14+
'~/.computer/drake'
1515
).
1616

1717
pkg('__drake built').
1818
met('__drake built', _) :-
19-
isfile('~/.local/drake/target/drake.jar').
19+
isfile('~/.computer/drake/target/drake.jar').
2020
meet('__drake built', _) :-
21-
bash('cd ~/.local/drake && ~/.local/bin/lein uberjar').
21+
bash('cd ~/.computer/drake && ~/.computer/bin/lein uberjar').
2222
depends('__drake built', _, [
2323
'leiningen',
2424
'__drake checked out'
2525
]).
2626

2727
pkg('__drake executable set up').
28-
met('__drake executable set up', _) :- isfile('~/.local/bin/drake').
28+
met('__drake executable set up', _) :- isfile('~/.computer/bin/drake').
2929
meet('__drake executable set up', _) :-
30-
expand_path('~/.local/bin/drake', F),
30+
expand_path('~/.computer/bin/drake', F),
3131
tell(F),
3232
writeln('#!/bin/bash'),
33-
writeln('exec ~/.local/bin/drip -cp ~/.local/drake/target/drake.jar drake.core "$@"'),
33+
writeln('exec ~/.computer/bin/drip -cp ~/.computer/drake/target/drake.jar drake.core "$@"'),
3434
told,
3535
make_executable(F).
3636
depends('__drake executable set up', _, [
@@ -39,10 +39,10 @@
3939
]).
4040

4141
pkg(drip).
42-
met(drip, _) :- isfile('~/.local/bin/drip').
42+
met(drip, _) :- isfile('~/.computer/bin/drip').
4343
meet(drip, _) :-
4444
curl(
4545
'https://raw.github.com/flatland/drip/master/bin/drip',
46-
'~/.local/bin/drip'
46+
'~/.computer/bin/drip'
4747
),
48-
bash('chmod a+x ~/.local/bin/drip').
48+
bash('chmod a+x ~/.computer/bin/drip').

golang.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
pkg('__golang source fetched').
1313
met('__golang source fetched', _) :-
14-
isdir('~/.local/go').
14+
isdir('~/.computer/go').
1515
meet('__golang source fetched', _) :-
16-
bash('mkdir -p ~/.local'),
17-
bash('cd ~/.local && curl https://go.googlecode.com/files/go1.1.src.tar.gz | tar xz').
16+
bash('mkdir -p ~/.computer'),
17+
bash('cd ~/.computer && curl https://go.googlecode.com/files/go1.1.src.tar.gz | tar xz').
1818

1919
pkg('__golang built').
2020
met('__golang built', _) :-
21-
isfile('~/.local/go/bin/go').
21+
isfile('~/.computer/go/bin/go').
2222
meet('__golang built', _) :-
23-
bash('cd ~/.local/go/src && ./all.bash').
23+
bash('cd ~/.computer/go/src && ./all.bash').

juici.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
git_step(
1818
'__juici source checked out',
1919
'https://github.com/richo/juici',
20-
'~/.local/juici'
20+
'~/.computer/juici'
2121
).

pyret.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
isfile('~/.racket/links.rktd'),
1111
bash('fgrep -q pyret ~/.racket/links.rktd').
1212
meet('pyret', _) :-
13-
bash('cd ~/.local/pyret && make dep && make').
13+
bash('cd ~/.computer/pyret && make dep && make').
1414
depends('pyret', _, [
1515
'__pyret cloned',
1616
'racket'
1717
]).
1818

1919
pkg('__pyret cloned').
2020
met('__pyret cloned', _) :-
21-
isdir('~/.local/pyret').
21+
isdir('~/.computer/pyret').
2222
meet('__pyret cloned', _) :-
23-
bash('mkdir -p ~/.local'),
24-
bash('cd ~/.local && git clone https://github.com/brownplt/pyret-lang pyret').
23+
bash('mkdir -p ~/.computer'),
24+
bash('cd ~/.computer && git clone https://github.com/brownplt/pyret-lang pyret').

scheme.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
pkg('racket').
1111
met('racket', _) :-
12-
isfile('~/.local/racket-5.3.6/bin/raco').
12+
isfile('~/.computer/racket-5.3.6/bin/raco').
1313
meet('racket', _).
1414
depends('racket', _, [
1515
'__racket installed',
@@ -20,15 +20,15 @@
2020
met('__racket in profile', _) :-
2121
bash('fgrep -q "racket-5.3.6" ~/.profile').
2222
meet('__racket in profile', _) :-
23-
bash('echo \'export PATH=~/.local/racket-5.3.6/bin:${PATH}\' >> ~/.profile').
23+
bash('echo \'export PATH=~/.computer/racket-5.3.6/bin:${PATH}\' >> ~/.profile').
2424

2525
pkg('__racket installed').
2626
met('__racket installed', _) :-
27-
isfile('~/.local/racket-5.3.6/bin/raco').
27+
isfile('~/.computer/racket-5.3.6/bin/raco').
2828
meet('__racket installed', linux(_)) :-
29-
bash('cd /tmp/racket-5.3.6/src && ./configure --prefix=$HOME/.local/racket-5.3.6 && make && make install').
29+
bash('cd /tmp/racket-5.3.6/src && ./configure --prefix=$HOME/.computer/racket-5.3.6 && make && make install').
3030
meet('__racket installed', osx) :-
31-
bash('cd /tmp/racket-5.3.6/src && ./configure --prefix=$HOME/.local/racket-5.3.6 --enable-xonx && make && make install').
31+
bash('cd /tmp/racket-5.3.6/src && ./configure --prefix=$HOME/.computer/racket-5.3.6 --enable-xonx && make && make install').
3232
depends('__racket installed', _, [
3333
'__racket tarball unpacked'
3434
]).

text.pl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@
1313

1414
command_pkg('__malt binary', malt).
1515
meet('__malt binary', _) :-
16-
( isdir('~/.local/maltparser-1.7.1') ->
16+
( isdir('~/.computer/maltparser-1.7.1') ->
1717
true
1818
;
1919
curl(
2020
'http://www.maltparser.org/dist/maltparser-1.7.1.tar.gz',
21-
'~/.local/maltparser-1.7.1.tar.gz'
21+
'~/.computer/maltparser-1.7.1.tar.gz'
2222
),
23-
bash('cd ~/.local && tar xfz maltparser-1.7.1.tar.gz'),
24-
bash('rm -f ~/.local/maltparser-1.7.1.tar.gz')
23+
bash('cd ~/.computer && tar xfz maltparser-1.7.1.tar.gz'),
24+
bash('rm -f ~/.computer/maltparser-1.7.1.tar.gz')
2525
),
26-
expand_path('~/.local/bin/malt', F),
26+
expand_path('~/.computer/bin/malt', F),
2727
( \+ isfile(F) ->
2828
tell(F),
2929
writeln('#!/bin/bash'),
30-
writeln('exec java -jar ~/.local/maltparser-1.7.1/maltparser-1.7.1.jar "$@"'),
30+
writeln('exec java -jar ~/.computer/maltparser-1.7.1/maltparser-1.7.1.jar "$@"'),
3131
told
3232
;
3333
true
3434
),
35-
bash('chmod a+x ~/.local/bin/malt').
35+
bash('chmod a+x ~/.computer/bin/malt').
3636

3737
pkg('__malt model').
38-
met('__malt model', _) :- isfile('~/.local/maltparser-1.7.1-models/engmalt.poly-1.7.mco').
38+
met('__malt model', _) :- isfile('~/.computer/maltparser-1.7.1-models/engmalt.poly-1.7.mco').
3939
meet('__malt model', _) :-
40-
bash('mkdir -p ~/.local/maltparser-1.7.1-models'),
40+
bash('mkdir -p ~/.computer/maltparser-1.7.1-models'),
4141
curl(
4242
'http://www.maltparser.org/mco/english_parser/engmalt.poly-1.7.mco',
43-
'~/.local/maltparser-1.7.1-models/engmalt.poly-1.7.mco'
43+
'~/.computer/maltparser-1.7.1-models/engmalt.poly-1.7.mco'
4444
).

vision.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585

8686
% barcode reading with zxing
8787
pkg(zxing).
88-
met(zxing, _) :- isfile('~/.local/zxing-1.6/javase/javase.jar').
88+
met(zxing, _) :- isfile('~/.computer/zxing-1.6/javase/javase.jar').
8989
meet(zxing, _) :-
90-
bash('cd ~/.local && wget http://zxing.googlecode.com/files/ZXing-1.6.zip'),
91-
bash('cd ~/.local && unzip ZXing-1.6.zip && rm ZXing-1.6.zip'),
92-
bash('cd ~/.local/zxing-1.6/core && ant build'),
93-
bash('cd ~/.local/zxing-1.6/javase && ant build').
90+
bash('cd ~/.computer && wget http://zxing.googlecode.com/files/ZXing-1.6.zip'),
91+
bash('cd ~/.computer && unzip ZXing-1.6.zip && rm ZXing-1.6.zip'),
92+
bash('cd ~/.computer/zxing-1.6/core && ant build'),
93+
bash('cd ~/.computer/zxing-1.6/javase && ant build').
9494
depends(zxing, _, [java, ant]).
9595

9696
command_pkg(ant).

0 commit comments

Comments
 (0)