Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Enzo Cioppettini
ion
Commits
bf7c7b3a
Commit
bf7c7b3a
authored
6 years ago
by
Michael Aaron Murphy
Browse files
Options
Downloads
Patches
Plain Diff
Update debian packaging
parent
c3400bee
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+9
-4
9 additions, 4 deletions
Makefile
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/rules
+2
-0
2 additions, 0 deletions
debian/rules
with
17 additions
and
4 deletions
Makefile
+
9
−
4
View file @
bf7c7b3a
...
...
@@ -4,6 +4,7 @@ RELEASE = debug
DEBUG
?=
0
VENDORED
=
0
REDOX
?=
0
RUSTUP
?=
1
TOOLCHAIN
?=
1.31.0
GIT_REVISION
=
git_revision.txt
...
...
@@ -25,6 +26,10 @@ ifeq (1,$(REDOX))
TOOLCHAIN
=
nightly
endif
ifeq
(1,$(RUSTUP))
TOOLCHAIN_ARG
=
+
$(
TOOLCHAIN
)
endif
.PHONY
:
all clean distclean install uninstall
all
:
$(SRC) $(GIT_REVISION)
...
...
@@ -32,7 +37,7 @@ ifeq (1,$(REDOX))
mkdir
-p
.cargo
grep
redox .cargo/config
||
cat
redox_linker
>>
.cargo/config
endif
cargo
+
$(
TOOLCHAIN
)
build
$(
ARGS
)
$(
ARGSV
)
cargo
$(
TOOLCHAIN
_ARG
)
build
$(
ARGS
)
$(
ARGSV
)
clean
:
cargo clean
...
...
@@ -44,10 +49,10 @@ format:
cargo +nightly
fmt
--all
tests
:
cargo
+
$(
TOOLCHAIN
)
test
$(
ARGSV
)
cargo
$(
TOOLCHAIN
_ARG
)
test
$(
ARGSV
)
TOOLCHAIN
=
$(
TOOLCHAIN
)
bash examples/run_examples.sh
for
crate
in
members/
*
;
do
\
cargo
+
$(
TOOLCHAIN
)
test
$(
ARGSV
)
--manifest-path
$$
crate/Cargo.toml
||
exit
1
;
\
cargo
$(
TOOLCHAIN
_ARG
)
test
$(
ARGSV
)
--manifest-path
$$
crate/Cargo.toml
||
exit
1
;
\
done
install
:
...
...
@@ -65,7 +70,7 @@ $(GIT_REVISION):
$(VENDOR)
:
mkdir
-p
.cargo
cargo
+
$(
TOOLCHAIN
)
vendor |
head
-n
-1
>
.cargo/config
cargo
$(
TOOLCHAIN
_ARG
)
vendor |
head
-n
-1
>
.cargo/config
echo
'directory = "vendor"'
>>
.cargo/config
tar
pcfJ vendor.tar.xz vendor
rm
-rf
vendor
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
6
−
0
View file @
bf7c7b3a
ion-shell (1:1.0.0-alpha2~cosmic1) cosmic; urgency=medium
* Upstream updates
-- Michael Aaron Murphy <michael@system76.com> Sat, 16 Mar 2019 22:31:21 -0600
ion-shell (1:1.0.0-alpha1~cosmic0) cosmic; urgency=medium
* Upstream updates
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
2
−
0
View file @
bf7c7b3a
#!/usr/bin/make -f
export RUSTUP = 0
%:
dh $@
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment