Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
nitrogen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 33bc9aaf
authored
Mar 17, 2020
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making tools slightly smarter
1 parent
de6ca801
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
clean.sh
test_NitroWin.sh
clean.sh
View file @
33bc9aa
#!/bin/sh
#!/bin/sh
if
[
-x build/bin/NitroWin
]
;
then
echo
Running
\"
make clean
\"
make clean
fi
CMAKEFILES
=
`
find
*
-type d -name CMakeFiles
`
CMAKEFILES
=
`
find
*
-type d -name CMakeFiles
`
CMAKECACHE
=
`
find
*
-type f -name CMakeCache.txt
`
CMAKECACHE
=
`
find
*
-type f -name CMakeCache.txt
`
MAKEFILES
=
`
find
*
-type f -name Makefile
`
MAKEFILES
=
`
find
*
-type f -name Makefile
`
...
@@ -11,7 +16,7 @@ CORES=`find * -type f -name "*.core"`
...
@@ -11,7 +16,7 @@ CORES=`find * -type f -name "*.core"`
VIMS
=
`
find
*
-type f -name
"*~"
`
VIMS
=
`
find
*
-type f -name
"*~"
`
DOC
=
`
find
*
-type d -name generated-doc
`
DOC
=
`
find
*
-type d -name generated-doc
`
FILES
=
"
Doxyfile
src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h"
FILES
=
"src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h"
if
[
-n
"
${
CMAKEFILES
}
"
]
;
then
if
[
-n
"
${
CMAKEFILES
}
"
]
;
then
echo
Removing CMakeFiles
echo
Removing CMakeFiles
...
@@ -71,6 +76,6 @@ fi
...
@@ -71,6 +76,6 @@ fi
for
F
in
${
FILES
}
for
F
in
${
FILES
}
do
do
if
[
-f
$F
]
;
then
if
[
-f
$F
]
;
then
rm
-v
$F
rm
$F
fi
fi
done
done
test_NitroWin.sh
View file @
33bc9aa
#!/bin/sh
#!/bin/sh
if
[
-f CMakeCache.txt
]
;
then
else
cmake .
fi
if
[
-x build/bin/NitroWin
]
;
then
else
make
fi
XEPHYR
=
$(
which Xephyr
)
XEPHYR
=
$(
which Xephyr
)
xinit ./xinitrc --
"
$XEPHYR
"
:100 -screen 1000x750 -host-cursor
xinit ./xinitrc --
"
$XEPHYR
"
:100 -screen 1000x750 -host-cursor
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment