Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Clean more files (#772)
Browse files Browse the repository at this point in the history
Make clean more thorough - found more files by running git clean -nx

Signed-off-by: Graham MacDonald <grahamamacdonald@gmail.com>
  • Loading branch information
gmacd committed Feb 8, 2018
1 parent 63caebc commit 9ff7450
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
10 changes: 6 additions & 4 deletions clean.json
@@ -1,11 +1,13 @@
{
"amd64cpu": {
"clean": {
"Pre": [
"rm -f -rf $ARCH/lib/*.a $ARCH/bin/*",
"git checkout $ARCH/bin"
"rm -rf $ARCH/lib/*.a $ARCH/bin/*",
"rm -f cfg/pxe/tftpboot/harvey.32bit"
],
"Projects": [
"/sys/src/9/amd64/clean.json"
"/sys/src/9/$ARCH/clean.json",
"/sys/src/cleanlibs.json",
"/sys/src/cmd/clean.json"
]
}
}
5 changes: 4 additions & 1 deletion sys/src/9/amd64/clean.json
@@ -1,7 +1,10 @@
{
"clean": {
"Pre": [
"rm -f *.o *.root.c *.out errstr.h init.h init ../boot/libboot.a ../boot/*.o boot*.c cpu.c"
"rm -f *.o *.root.c *.out errstr.h init.h init cpu.c",
"rm -f ../boot/libboot.a ../boot/*.o ../boot/bootcpu.c ../boot/bootcpu.elf.out boot*.c",
"rm -f harvey harvey.32bit",
"rm -f systab.c"
]
}
}
8 changes: 8 additions & 0 deletions sys/src/cleanlibs.json
@@ -0,0 +1,8 @@
{
"clean": {
"Pre": [
"rm -f libc/9syscall/*.s libc/9syscall/sys.h",
"rm -f libacpi/*.o"
]
}
}
7 changes: 7 additions & 0 deletions sys/src/cmd/clean.json
@@ -0,0 +1,7 @@
{
"clean": {
"Pre": [
"rm -f auth/lib/libauthcmd.a ip/httpd/libhttps.a usb/usbd/devtab.c venti/srv/libvs.a"
]
}
}

0 comments on commit 9ff7450

Please sign in to comment.